PHP код:
if(VerCmds == true)
{
static pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
format(string, sizeof(string), "[VER CMDS] %s (%d) digitou %s", pName,playerid,cmdtext);
for (new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if( IsplayerAdmin(i))
{
SendClientMessage(i, -1, string);
}
}
}
return 1;
}