14.05.2012, 01:00
Quote:
Would that make it so that whenever someone takes damage, it goes down right then?
|
If that's all you need it for, you could simply look at updating it using this callback:
https://sampwiki.blast.hk/wiki/OnPlayerTakeDamage
Which is called every time a player takes damage.
Also consider not creating the text-label constantly, create it once when the script starts or when the player joins the server and update it using this function:
https://sampwiki.blast.hk/wiki/Update3DTextLabelText
The key here is that you should be testing this yourself and reading the official PAWN documentation along with the SA-MP API documentation.