SA-MP Forums Archive
[Question] Time above health/armor bar - 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: [Question] Time above health/armor bar (/showthread.php?tid=332416)



[Question] Time above health/armor bar - Skribblez - 08.04.2012

I've seen some servers having the time above their health and armor bars just like in MTA map editor/race. I was wondering if they're done manually using text-draws or is there actually a function to make them appear? This also goes to the location labels above the radar which can be used as a global positioning system also known as GPS.

Hope someone could enlighten me about this, thanks!


Respuesta: [Question] Time above health/armor bar - Chris1337 - 08.04.2012

its a textdraw with a timer


Re: [Question] Time above health/armor bar - SpiritEvil - 08.04.2012

Or you can enable it by adding this OnPlayerConnect:

pawn Код:
TogglePlayerClock(playerid, 1);
It will enable the normal clock from single-player. Might not be synced for all players but it works.


Re: [Question] Time above health/armor bar - Skribblez - 08.04.2012

Thank you, reputation for you.

Edit: Can't seem to add one, I'll do it later.