SA-MP Forums Archive
How to update dynamic 3dtextlabel? - 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: How to update dynamic 3dtextlabel? (/showthread.php?tid=647014)



How to update dynamic 3dtextlabel? - TitoRayne - 28.12.2017

How to uodate dynamic 3dtextlabel every 2seconds? I use it as my nametag abovehead with 3dtext hp and armor


Re: How to update dynamic 3dtextlabel? - TitoRayne - 28.12.2017

https://sampforum.blast.hk/showthread.php?pid=3946726#pid3946726

Heres the code of mijeb


Re: How to update dynamic 3dtextlabel? - RogueDrifter - 28.12.2017

Update3DTextLabel-Samp Wiki
SetTimerEx-Samp Wiki
EDIT: Oh i didn't read 'dynamic' mb, well just set a timer using the link i provided above for
SetTimerEx and do something within the lines of this:

PHP Code:
new Float:hp,Float:armour;
GetPlayerHealth(playerid,health);
GetPlayerArmour(playerid,armour);
format(string,sizeof(string),"%d hp and %d armour",health,armour);
UpdateDynamic3DText(... 



Re: How to update dynamic 3dtextlabel? - TitoRayne - 28.12.2017

Can u please make it for me im begging u


Re: How to update dynamic 3dtextlabel? - TitoRayne - 28.12.2017

Bump plss tell me how and where to put


Re: How to update dynamic 3dtextlabel? - TitoRayne - 06.01.2018

BUmpppppppppppppp!!!!


Re: How to update dynamic 3dtextlabel? - Beckett - 06.01.2018

Code:
UpdateDynamic3DTextLabelText(STREAMER_TAG_3D_TEXT_LABEL ID,color, const text[]);
Read: Documentation