textdraw distance
#1

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
Reply
#2

Maybe show your code ? You mean maybe 3DTextLabel ?
Reply
#3

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)
Reply
#4

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
Reply
#5

All we need is the Create3DTextLabel line(s).
Reply
#6

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

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);
Reply
#8

that worked thanks
Reply
#9

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

Regards, MacT!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)