SA-MP Forums Archive
Dynamic labels - 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: Dynamic labels (/showthread.php?tid=486910)



Dynamic labels - Beckett - 11.01.2014

------


Re: Dynamic labels - DarrenReeder - 11.01.2014

Not sure, maybe this?

https://sampwiki.blast.hk/wiki/Delete3DTextLabel


Re: Dynamic labels - Konstantinos - 11.01.2014

pawn Code:
// A single 3D label:
native DestroyDynamic3DTextLabel(Text3D:id);
// You should store the ID for the 3D label in a variable so you can check whether it's valid, delete/update it or get the text later on
pawn Code:
// All of them:
native DestroyAllDynamic3DTextLabels();



Re: Dynamic labels - amirab - 11.01.2014

3D Text Labels:

PHP Code:

native 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);
native DestroyDynamic3DTextLabel(Text3D:id);
native IsValidDynamic3DTextLabel(Text3D:id);
native GetDynamic3DTextLabelText(Text3D:id, text[], maxlength = sizeof text);
native UpdateDynamic3DTextLabelText(Text3D:id, color, const text[]);
native DestroyAllDynamic3DTextLabels();
native CountDynamic3DTextLabels(); 
that's all about dynamic 3d text labels
you could see streamer post