SA-MP Forums Archive
Help About AdminTag!! - 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: Help About AdminTag!! (/showthread.php?tid=386108)



Help About AdminTag!! - sanjil_rijal - 19.10.2012

Please Help To Make Admin Tag In My server?

Reputation Me I will Do It Back To You


Re: Help About AdminTag!! - RanSEE - 19.10.2012

Код:
new aname[24];
new string[256];
GetPlayerName(playerid,aname,sizeof(aname));
format(string,sizeof(string),"[GM]%s",aname);
SetPlayerName(playerid,string);
Likewise.

BTW, this belongs to script request thread


Re: Help About AdminTag!! - newbienoob - 19.10.2012

256 string size JUST FOR THAT? 30 is enough!


Re: Help About AdminTag!! - Abhishek. - 19.10.2012

ON Topic:well there is no problem wheather he use any size of string just the size should have to be greater than the maximum length of the name which i dont remmember,still newbie is right
OFF Topic:well i have seen newbienoob after a long.......................time ,hi


Re: Help About AdminTag!! - gtakillerIV - 19.10.2012

Making it larger than you need WILL make your memory usage..etc higher, ready ******'s topic about optimizations..etc.


Re: Help About AdminTag!! - newbienoob - 19.10.2012

Quote:
Originally Posted by [bot]fatninja
Посмотреть сообщение
ON Topic:well there is no problem wheather he use any size of string just the size should have to be greater than the maximum length of the name which i dont remmember,still newbie is right
https://sampforum.blast.hk/showthread.php?tid=55261

Quote:
Originally Posted by [bot]fatninja
Посмотреть сообщение
OFF Topic:well i have seen newbienoob after a long.......................time ,hi
Ohi!