SA-MP Forums Archive
textdraw distance - 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: textdraw distance (/showthread.php?tid=514452)



textdraw distance - sl!x - 21.05.2014

i am using Gagi's Dynamic House System and i want the textdraws not to appear from far away i wont that they appear at a distance of 15 or 10 meters how could i do this


Re: textdraw distance - MacT - 21.05.2014

Maybe show your code ? You mean maybe 3DTextLabel ?


Re: textdraw distance - Beckett - 21.05.2014

You mean a 3DTextLabel, you need to show us the code or just do it yourself.

pawn Code:
text[], color, Float:X, Float:Y, Float:Z,>> Float:DrawDistance <<, virtualworld, testLOS)



Re: textdraw distance - sl!x - 21.05.2014

well its to big to show the code i will post it on pastebin if you want i just said it is Gagis Dynamic House System in order not to post it so that someone thinks i stole it here is the code http://pastebin.com/xZ1igEUV


Re: textdraw distance - Beckett - 21.05.2014

All we need is the Create3DTextLabel line(s).


Re: textdraw distance - sl!x - 21.05.2014

i edited the above post but i case you didnt saw it this is the code again http://pastebin.com/xZ1igEUV


Re: textdraw distance - MacT - 21.05.2014

pawn Code:
CreateDynamic3DTextLabel(string, 0xFFFFFF,  PosX,PosY,PosZ, 15, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100);
OR
CreateDynamic3DTextLabel(string, 0xFFFFFF,  PosX,PosY,PosZ, 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 15);



Re: textdraw distance - sl!x - 21.05.2014

that worked thanks


Re: textdraw distance - MacT - 21.05.2014

Hehe no problem, Anytime you can post here or PM me (if you needed)

Regards, MacT!