SA-MP Forums Archive
how to do it(+rep) - 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: how to do it(+rep) (/showthread.php?tid=324947)



how to do it(+rep) - Chris_Morrison - 11.03.2012

Hello
I want to do something for my rp server
I want edit the radius you can see the player nane
How to do it


Re: how to do it(+rep) - MP2 - 11.03.2012

https://sampwiki.blast.hk/wiki/SetNameTagDrawDistance

Search for it in your gamemode. if it's not already used, add it under OnGameModeInit.


Re: how to do it(+rep) - Twisted_Insane - 11.03.2012

Add this under "OnGameModeInit":

pawn Код:
SetNameTagDrawDistance(20.0);
While you're able to change "20.0" to your own amount of radius...

NOTE: Be sure that you already didn't use it!


Re: how to do it(+rep) - KingHual - 11.03.2012

Quote:
Originally Posted by Twisted_Insane
Посмотреть сообщение
Add this under "OnGameModeInit":

pawn Код:
SetNameTagDrawDistance(20.0);
While you're able to change "20.0" to your own amount of radius...

NOTE: Be sure that you already didn't use it!
I lol'd ... Do you need posts that bad?! I mean, MP2 already answered. Why do you have to answer the exact same thing?!


Re: how to do it(+rep) - Twisted_Insane - 11.03.2012

Oh sorry, I just saw it now! This topic was open for a few minutes while I was responding on another one! I usually hate it when people are doing things such as I did, that's why I apologise, I didn't see it!^^
Again, sorry!


Re: how to do it(+rep) - Chris_Morrison - 11.03.2012

Thank you both +rep