How to update dynamic 3dtextlabel?
#1

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

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

Heres the code of mijeb
Reply
#3

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(... 
Reply
#4

Can u please make it for me im begging u
Reply
#5

Bump plss tell me how and where to put
Reply
#6

BUmpppppppppppppp!!!!
Reply
#7

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


Forum Jump:


Users browsing this thread: 2 Guest(s)