03.01.2018, 13:05
when I do the next thing it's giving me errors, there is any possible way to do something similar?
well I can make "slot1, slot2, slot3" but that sucks and I won't be able to do the next thing:
PHP код:
enum info
{
slot[35]
}
new playerinfo[MAX_PLAYERS][info];
public OnPlayerConnect(playerid)
{
playerinfo[playerid][slot[0]] = 12;
playerinfo[playerid][slot[1]] = 69;
}
PHP код:
for(new i; i < 35; i++)
{
playerinfo[playerid][slot[i]] = 17;
}