12.08.2010, 03:14
Your code is bad.
Try it:
Try it:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/alive", true)) {
for(new i = 0; i < GetMaxPlayers(); i ++ ) {
if(!IsPlayerConnected(i)) continue;
if(gTeam[i] == TEAM_HIDER) {
GetPlayerName(i, zzst, 24);
SendClientMessage(playerid, 0xFFFFFFA, zzst);
}
}
return 1;
}
return 0;
}