Show Players On A Team problem?
#4

Quote:
Originally Posted by cynic
Посмотреть сообщение
Your code is bad.
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;
}
WIN!!!!!!!!!
Reply


Messages In This Thread
Show Players On A Team problem? - by lSCARl - 12.08.2010, 00:42
Re: Show Players On A Team problem? - by CyNiC - 12.08.2010, 03:14
Re: Show Players On A Team problem? - by lSCARl - 12.08.2010, 19:19
Re: Show Players On A Team problem? - by lSCARl - 12.08.2010, 20:51
Re: Show Players On A Team problem? - by wups - 12.08.2010, 20:54
Re: Show Players On A Team problem? - by lSCARl - 12.08.2010, 21:21
Re: Show Players On A Team problem? - by wups - 13.08.2010, 07:47

Forum Jump:


Users browsing this thread: 1 Guest(s)