OnPlayerUpdate health
#7

Whatever "pPoints" does, I'm sure it doesn't update on its own. You set it through the script, so you only need to update it when you change its value.

For health, the same goes. You can just use OnPlayerTakeDamage, it's called every time the player takes damage, even if self inflicted (e.g: fall damage). Update the textdraw/player color there.
Reply


Messages In This Thread
OnPlayerUpdate health - by ivndosos - 09.02.2018, 12:20
Re: OnPlayerUpdate health - by KayJ - 09.02.2018, 16:18
Re: OnPlayerUpdate health - by rfr - 09.02.2018, 16:25
Re: OnPlayerUpdate health - by David (Sabljak) - 09.02.2018, 17:11
Re: OnPlayerUpdate health - by wallen - 09.02.2018, 17:13
Re: OnPlayerUpdate health - by David (Sabljak) - 09.02.2018, 17:33
Re: OnPlayerUpdate health - by Abagail - 09.02.2018, 17:52
Re: OnPlayerUpdate health - by Mugala - 09.02.2018, 18:30

Forum Jump:


Users browsing this thread: 1 Guest(s)