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[], colorFloat:xFloat:yFloat:zFloat:drawdistanceattachedplayer INVALID_PLAYER_IDattachedvehicle INVALID_VEHICLE_IDtestlos 0worldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0);
native DestroyDynamic3DTextLabel(Text3D:id);
native IsValidDynamic3DTextLabel(Text3D:id);
native GetDynamic3DTextLabelText(Text3D:idtext[], maxlength sizeof text);
native UpdateDynamic3DTextLabelText(Text3D:idcolor, const text[]);
native DestroyAllDynamic3DTextLabels();
native CountDynamic3DTextLabels(); 
that's all about dynamic 3d text labels
you could see streamer post