02.03.2010, 16:50
Код:
if(new z=0; z<ZOMBIES_TOTAL; z++) { if(IsPlayerNPC(playerid)) { if(z == 0) { SetPlayerPos(playerid, 2057.3208, 1339.8979, 10.9259); SetPlayerFacingAngle(playerid, 90); } if(z == 1) { SetPlayerPos(playerid, 2057.3208, 1337.8979, 10.9259); SetPlayerFacingAngle(playerid, 90); } if(z == 2) { SetPlayerPos(playerid, 2057.3208, 1335.8979, 10.9259); SetPlayerFacingAngle(playerid, 90); } } }
Код:
C:\Documents and Settings\Usuario\Desktop\SAMP\gamemodes\npc.pwn(138) : error 029: invalid expression, assumed zero C:\Documents and Settings\Usuario\Desktop\SAMP\gamemodes\npc.pwn(138) : error 017: undefined symbol "z" C:\Documents and Settings\Usuario\Desktop\SAMP\gamemodes\npc.pwn(138) : warning 215: expression has no effect C:\Documents and Settings\Usuario\Desktop\SAMP\gamemodes\npc.pwn(138) : error 017: undefined symbol "z" C:\Documents and Settings\Usuario\Desktop\SAMP\gamemodes\npc.pwn(138) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.