SA-MP Forums Archive
Small help needed for the 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: Small help needed for the 3dTextLabel. (/showthread.php?tid=501026)



Small help needed for the 3dTextLabel. - iOxide - 16.03.2014

Hi,

I am currently making the ranking system for 2 classes. Police and Trucker class. I have already made the Trucker class ranks and the label for rank names are working perfectly for it. But the thing is, i made the same ranking system for police as well and the 3DTextLabel isn't showing up for cops. Any idea why this is happening? As far as i noticed it is because SAMP only allow 1024 labels for player. And i am using more than that (I guess?)

So is it possible to attach dynamic 3d textlabel to players?

Need help asap!


Re: Small help needed for the 3dTextLabel. - amirab - 16.03.2014

so if you're user more than 1024 3dLabel text use it as Dynamic 3D Label Text
i mean use streamer


Re: Small help needed for the 3dTextLabel. - iOxide - 16.03.2014

Yes, thats what i am doing but the problem is, i need to attach the created Dynamic3DTextLabel. And i saw there is no AttachDynami3DTextLabel function. Any suggestions?


Re: Small help needed for the 3dTextLabel. - iThePunisher - 16.03.2014

to attach 3dtext to players use this
pawn Код:
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);