[AJUDA] Pawn trava
#3

pawn Код:
if(strcmp(cmd, "/ajudantes", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        SendClientMessage(playerid, COLOR_AJUDA, "|______________ Ajudantes Online ______________|");
       
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                if(PlayerInfo[i][pAjudan] >= 1)
                {
                    GetPlayerName(i, sendername, sizeof(sendername));
                }
                format(string, 256, "Ajudante: %s - Nivel: [%s]", sendername, PlayerInfo[i][pALevel]);
                SendClientMessage(playerid, COLOR_AJUDA, string);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
[AJUDA] Pawn trava - by RodiauOUI - 25.12.2010, 20:00
Re: [AJUDA] Pawn trava - by CyNiC - 25.12.2010, 20:03
Re: [AJUDA] Pawn trava - by Chavequinho - 25.12.2010, 20:06
Re: [AJUDA] Pawn trava - by RodiauOUI - 25.12.2010, 20:07
Re: [AJUDA] Pawn trava - by Chavequinho - 25.12.2010, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)