Admin Name Set
#1

Is it possible when a admin does /adminmode it places them into admin mode, changes color, etc.

But what i wanted to do is it adds the tag [ADMIN] and thier last nick, as my nickname was "John" when i do /adminmode it does "[ADMIN]John" Please help. Thanks!
Reply
#2

pawn Код:
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string),"[ADMIN]%s",name);
SetPlayerName(playerid, string);
As for the removing the [ADMIN] you could store their old name or use an advanced way with strdel and etcetera...
Reply
#3

Thank you very much sir!
Reply
#4

Double thanks i've just wanted to post a thread now its not neccesary anymore
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)