03.04.2012, 19:55
Well, first you'd have to add an adminname section in you're player file saving system, or make it so it creates a seperate file for all (or each) admin name. Then you can simply do something like this.
pawn Код:
CMD:adminduty(playerid, params[])
{
//Check if player is admin
SetPlayerName(playerid, PlayerInfo[playerid][pAdminName]); // Change PlayerInfo[playerid][pAdminName] to the section where it saves the players admin name.
//Rest of code
return 1;
}