-
-
Notifications
You must be signed in to change notification settings - Fork 19
cpInventoryHelpStringAtr
Shockero42 edited this page Dec 26, 2017
·
5 revisions
Skript zkontroluje cílový index pro int nebo string type a převádí výchozí int na string.
cpInventoryHelpIsStringAtr(index);| Argument | Typ | Popis |
|---|---|---|
| index | int | Označení indexu |
1: Index je int nebo string.
0: Index není int nebo string.
if v_slot <= 75 && cpInventoryHelpIsStringAtr(i)
{
v_slot += 20
}
else
{
end
}Pokud je počet slotů menší a nebo roven 75 a i je string tak bude přidáno 20 slotů, pokud ovšem tyto podmínky nesplňuje akce se ukončí.