SA-MP Forums Archive
Just more 1 thing ( I forgot of put on the before topic ) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Just more 1 thing ( I forgot of put on the before topic ) (/showthread.php?tid=161141)



Just more 1 thing ( I forgot of put on the before topic ) - xfelipex - 19.07.2010

Is there a way to show just player life / armour if you're at "certain" distance from himself? just hp / armour, sorry for create this topic ; I forgot to add into before on'


Re: Just more 1 thing ( I forgot of put on the before topic ) - (SF)Noobanatior - 19.07.2010

post the code that you used to have and ill edit for ya that used to display the 3dtext


Re: Just more 1 thing ( I forgot of put on the before topic ) - xfelipex - 19.07.2010

Dude, on the before topic a guy told me to put it into OnGameModeInit() :

ShowNameTags( 0 );


Re: Just more 1 thing ( I forgot of put on the before topic ) - (SF)Noobanatior - 19.07.2010

sorry thought you had a custom one
not really with the standard display just get all or none
the only way would be to make you own one with 3dtext but it wont rellt show health in a bar
or you can hide the map icons and show the standard info if your close

like under ongamemodeinit

ShowPlayerMarkers(false);
SetNameTagDrawDistance(15.0);//chagne 15 to whatever distance you want


Re: Just more 1 thing ( I forgot of put on the before topic ) - xfelipex - 19.07.2010

yw dude, no problem, it's enough :P, it could be nothing or just from certain distance ; Thank yo.


Re: Just more 1 thing ( I forgot of put on the before topic ) - Scenario - 19.07.2010

Have you ever thought of editing your first topic?