SA-MP Forums Archive
Admin tag - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Admin tag (/showthread.php?tid=382430)



Admin tag - Laure - 03.10.2012

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


AW: Admin tag - BiosMarcel - 03.10.2012

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


Re: Admin tag - xMCx - 03.10.2012

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


Re: Admin tag - KingHual - 03.10.2012

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!


Re: Admin tag - xMCx - 03.10.2012

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


Re: Admin tag - ikbenremco - 03.10.2012

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