14.06.2014, 03:12
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
printf("%s(%d) has used %s",GetPlayerNameEx(playerid),playerid,cmdtext);
return 1;
}
pawn Код:
stock GetPlayerNameEx(playerid)
{
new pName[25];
GetPlayerName(playerid, pName, sizeof(pName));
return pName;
}