11.11.2010, 21:00
(
Последний раз редактировалось marinov; 11.11.2010 в 21:19.
)
Why would this give me errors ?
Код:
if(strcmp(cmd, "/human", true) ==0) { if(team[playerid] == 0) { team[playerid] = 1; SendClientMessage(playerid,GREEN,"You may now spawn."); HideMenuForPlayer(mainmenu,playerid); return 1; } else { team[playerid] = 1; SetPlayerHealth(playerid, 0); return 1; } }
Код:
C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1191) : warning 225: unreachable code C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1191) : error 029: invalid expression, assumed zero C:\Users\Marino Varesio\Desktop\zombie outbreak\gamemodes\zombieoutbreak.pwn(1193) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.