05.01.2013, 20:17
Something like this(if using zcmd, u never said)
Sorry or the tab sizes but I'm on my phone ;x
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);
}
}
}