help with this cmd
#2

Seriously? Look at your code again...

pawn Код:
dcmd_admins(playerid,params[])
{
    #pragma unused params
    new string[128], name[MAX_PLAYER_NAME];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(PInfo[i][Level] > 1)
        {
            GetPlayerName(i, name, sizeof(name));
            format(string, sizeof(string), "%s Level: %d", name, PInfo[i][Level]);
            SendClientMessage(playerid, LGREEN, string);
        }
    }
    return 1;
}
That should do the trick. Nothing advanced...
Reply


Messages In This Thread
help with this cmd - by dark_clown - 20.10.2010, 18:08
Re: help with this cmd - by Scenario - 20.10.2010, 18:16

Forum Jump:


Users browsing this thread: 4 Guest(s)