12.03.2010, 21:04
Quote:
Originally Posted by [AC
Etch ]
that is the right code Код:
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; } |