19.03.2014, 06:59
Pode tentar tambйm na public OnPlayerCommandPerformed ou na public OnPlayercommandtext.
Tente.
pawn Код:
new player[MAX_PLAYER_NAME],string[1000];
GetPlayerName(playerid, player, sizeof(player));
format(string, sizeof(string), "O player %s usou o comando [%s]", player,cmdtext);
for(new i = 0; i < MAX_PLAYERS;i++)
{
if(IsPlayerAdmin(playerid))
{
SendClientMessage(i, -1, string);
}
}