07.07.2012, 17:40
Error while compiling the script. I used "for" and fucked something up..
Error on
Код:
error 017: undefined symbol "playerid"
Код:
for(new i, j = GetMaxPlayers(); i != j; i++) { if(!IsPlayerConnected(i)) continue; if(IsPlayerNPC(i)) continue; if(GetPVarInt(playerid, "Equipped") != 1) continue; RemovePlayerAttachedObject(i, 1); RemovePlayerAttachedObject(i, 2); RemovePlayerAttachedObject(i, 3); RemovePlayerAttachedObject(i, 4); }
Код:
if(GetPVarInt(playerid, "Equipped") != 1) continue;