CreateDynamic3DTextLabel & Attach
#1

Hello.

When i'm trying attach Dynamic3DTextLabel to vehicle and players, allways showing on fix position. How can i change xyz pos?

I'm using:
CreateDynamic3DTextLabel
Incognito's Streamer Plugin -> https://sampforum.blast.hk/showthread.php?tid=102865
Reply
#2

How are you attaching the text label? Is it somewhat like this?:
Код:
CreateDynamic3DTextLabel("Player ID 0", -1, x, y, z, 100.0, .attachedplayer = 0);
CreateDynamic3DTextLabel("Vehicle ID 0", -1, x, y, z, 100.0, .attachedvehicle = 0);
Reply
#3

Quote:
Originally Posted by BlackSirrah239
Посмотреть сообщение
How are you attaching the text label? Is it somewhat like this?:
Код:
CreateDynamic3DTextLabel("Player ID 0", -1, x, y, z, 100.0, .attachedplayer = 0);
CreateDynamic3DTextLabel("Vehicle ID 0", -1, x, y, z, 100.0, .attachedvehicle = 0);
Native:
PHP код:
native Text3D:CreateDynamic3DTextLabel(const text[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0); 
MyCode
PHP код:
native Text3D:CreateDynamic3DTextLabel("Test Text"COLOR_WHITExyz+10100INVALID_PLAYER_IDvehicleid1); 
Result:
z+10 or z+20 not difrent Allways showing on car's zone
Reply
#4

native Streamer_SetFloatData(type, {Text3D,_}:id, data, Float:value);

E_STREAMER_ATTACH_OFFSET_X,
E_STREAMER_ATTACH_OFFSET_Y,
E_STREAMER_ATTACH_OFFSET_Z,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)