PDA

View Full Version : Custom Health Bars


oSAINTo
18/04/2017, 01:34 AM
http://i.imgur.com/n3KjazJ.png
I'm just wondering how this was accomplished. I know it uses 3DTextLabels, but I have no idea where to start. I'd love to have this along with armor bars.

oSAINTo
18/04/2017, 10:29 AM
bump

Logic_
18/04/2017, 10:34 AM
3D text labels.

oSAINTo
18/04/2017, 10:35 AM
3D text labels.

I already know that. Yet, I don't know where to start about getting it to update the label and such each time they lose health or something.

Dice_
18/04/2017, 10:39 AM
OnPlayerTakeDamage, I guess.

I suggest you not to use OnPlayerUpdate

oSAINTo
18/04/2017, 10:41 AM
OnPlayerTakeDamage, I guess.

I suggest you not to use OnPlayerUpdate

I thought so, if I did it under OnPlayerUpdate, it'd lag the server out.

coool
18/04/2017, 10:46 AM
But if you want for vehicles then: start a timer when player gets in, Don't forget to inherit the vehicle id. Then kill the timer when player gets out.