[HELP] How to get players in team.
#2

show us the value, where info is stored about admins.
Here is my command:
pawn Код:
if(strcmp(cmdtext, "/admin", true) == 0)
    {
            new zin[256] = "Admins online:";
            new name[MAX_PLAYER_NAME];
            for(new i = 0; i <MAX_PLAYERS; i++)
{
                if(IsPlayerConnected(i) && playerDB[i][admin]){
                    GetPlayerName(i,name,MAX_PLAYER_NAME);
                    format(zin,256,"%s %s,",zin,name);
}
            SendClientMessage(playerid,0x45A9BAFF,zin);
            return 1;
        }
Reply


Messages In This Thread
[HELP] How to get players in team. - by [HIR]AlbanianSoilder - 16.08.2010, 07:19
Re: [HELP] How to get players in team. - by wups - 16.08.2010, 07:23
Re: [HELP] How to get players in team. - by [HIR]AlbanianSoilder - 16.08.2010, 07:30

Forum Jump:


Users browsing this thread: 1 Guest(s)