12.03.2010, 20:40
Why i got error in this?
When i compile is say this :
What do i do?
Sorry for my english...
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { new cmd[256]; if(strcmp(cmd, "/test", true) == 0) { if(gTeam[playerid] == TEAM_ARMY) { SendPlayerFormattedText(playerid,"You are in army.",0); }else{ SendPlayerFormattedText(playerid,"You are not in the army",0); } } return 1; } return 0; }
Код:
C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm.pwn(460) : warning 235: public function lacks forward declaration (symbol "SetupPlayerForClassSelection") C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm.pwn(562) : error 010: invalid function or declaration C:\Documents and Settings\Daniel\Desktop\GTA\Server\gamemodes\sftdm.pwn(599) : warning 203: symbol is never used: "strtok" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Sorry for my english...