attach dynamic 3d text label.
#1

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?
Reply
#2

Yes that's correct, but don't increase the Z coordinate too much. Ideally, something like this:
pawn Код:
z+0.5
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)