A Command Question
#2

Something like this(if using zcmd, u never said)
pawn Код:
public OnPlayerCommandReceived(playerid, cmdtext[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
    {
          if(IsPlayerAdmin(i))
                 {
                       new name[MAX_PLAYER_NAME];GetPlayerName(playerid,name, sizeof name);
                       new str3[68];format(str3, sizeof str3,"[CMD] %s: %s",name,cmdtext);
                 }
    }
}
Sorry or the tab sizes but I'm on my phone ;x
Reply


Messages In This Thread
A Command Question - by Blackazur - 05.01.2013, 20:03
Re: A Command Question - by park4bmx - 05.01.2013, 20:17
AW: A Command Question - by Blackazur - 05.01.2013, 20:22
Re: A Command Question - by park4bmx - 05.01.2013, 20:25
AW: A Command Question - by Blackazur - 05.01.2013, 20:30
Re: A Command Question - by park4bmx - 05.01.2013, 20:36
AW: A Command Question - by Blackazur - 05.01.2013, 20:38

Forum Jump:


Users browsing this thread: 1 Guest(s)