Admin tag
#1

Can i please get linked to admin tag pawn? I found one but that has bunch of errors
Reply
#2

PHP код:
new pname[MAX_PLAYER_NAME];
new 
str[40];
GetPlayerName(playerid,pname,sizeof(pname));
format(str,40,"[TAG]%s",pname);
SetPlayerName(playerid,str); 
in onPlayerConnect or whrreever you want it
Reply
#3

pawn Код:
new Pname[MAX_PLAYER_NAME];
new string[40];
IsPlayerAdmin(playerid)){
GetPlayerName(playerid,Pname,sizeof(Pname));
format(string,40,"[TAG(or any thing else)]%s",Pname);
SetPlayerName(playerid,string);
}
add this under OnPlayerConnect or OnPlayerSpawn
Reply
#4

Quote:
Originally Posted by xMCx
Посмотреть сообщение
pawn Код:
new Pname[MAX_PLAYER_NAME];
new string[40];
IsPlayerAdmin(playerid)){
GetPlayerName(playerid,pname,sizeof(Pname));
format(string,40,"[TAG(or any thing else)]%s",Pname);
SetPlayerName(playerid,string);
}
You copied the post above and put } and return 1; at the end, WIN!
Reply
#5

Quote:
Originally Posted by king_hual
Посмотреть сообщение
You copied the post above and put } and return 1; at the end, WIN!
lol yes kinda but i he wanted that if the player admin or else so i added it , but all the credits returns to the 1st post
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=381058
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)