attach dynamic 3d text label. - 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: attach dynamic 3d text label. (
/showthread.php?tid=460192)
attach dynamic 3d text label. -
audriuxxx - 27.08.2013
Hi,
I want to create dynamic 3dtext label and attach him to player. If i want to attach to player i need to write playerid here?
Код:
Text3D:CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
Where i attachedplayer i need to write playerid, and then label will be attached to player? and if i want to change z coordinate make label higher i need to create this label in coordinates:
0.0,0.0,0.0 and if i change Z coordinate, then label who is attached to player will be higher or lower?
Re: attach dynamic 3d text label. -
Skribblez - 27.08.2013
Yes that's correct, but don't increase the Z coordinate too much. Ideally, something like this: