3d text on actors - 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: 3d text on actors (
/showthread.php?tid=578790)
3d text on actors -
Marcuse - 22.06.2015
Is there any way i can attach a 3dtext label on an actor or anything similar to that?
Re: 3d text on actors -
Konstantinos - 22.06.2015
https://sampforum.blast.hk/showthread.php?tid=573504
pawn Код:
Text3D:Attach3DTextLabelToActor(actorid, text[], color, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:distance = 10.0, worldid = 0, testlos = 0);
Re: 3d text on actors -
Gammix - 22.06.2015
Just create a 3DTextLabel on their position.
https://sampwiki.blast.hk/wiki/Create3DTextLabel
pawn Код:
new Float:pos[3];
GetActorPos(actorid, pos[0], pos[1], pos[2]);
Create3DTextLabel("Text", -1, pos[0], pos[1], pos[2], 50.0, 0, 0);
Creates the label on its position.
Re: 3d text on actors -
Marcuse - 22.06.2015
I mean really attach coz im gonna port them a lot
Re: 3d text on actors -
Gammix - 22.06.2015
Keep on changing the label positions (recreate every time you port them).