29.04.2012, 10:46
pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,MAX_PLAYER_NAME);
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(playerid))
if(i != playerid)
{
format(string,sizeof(string),"[LoG] - %s [#%d]: %s",name,playerid,cmdtext);
SendAdminsMessage(0x999999ff,string);
}
}
use MAX_PLAYER_NAME i edit it.