Quote:
Originally Posted by KurtBag
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; }
|
Im new to scripting would you be able to describe a little bit better please