SA-MP Forums Archive
Server sided health. - 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: Server sided health. (/showthread.php?tid=629104)



Server sided health. - iLearner - 20.02.2017

Hello,

I was working on server-sided health thus I've removed the player name tags & attached the name manually using a label, but the problem is how can i attach a textdraw like health? how can i attach health to player's head?

No, i dont want to use the default one.


Re: Server sided health. - Gammix - 20.02.2017

use SKY plugin to manipulate with health bar and you don't need to remove or hide player name or bar then.

Or you have to use 3DTextLabel as your player health (maybe dots).


Re: Server sided health. - GoldenLion - 20.02.2017

Quote:
Originally Posted by Gammix
Посмотреть сообщение
use SKY plugin to manipulate with health bar and you don't need to remove or hide player name or bar then.

Or you have to use 3DTextLabel as your player health (maybe dots).
You don't need a plugin you can just add 8000000 to player's health and it will look normal to other players. For example let's say player has 50 health so you add 8000000 to it so it'll be 8000050 and it will look like the players has 50 health for other players. This is what weapon-config include does and I also do that. For a health bar I use progress bars.


Re: Server sided health. - JaydenJason - 20.02.2017

Make your own healthbar doing something like this
"||||||||||"