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=410073)
Draw Distance. -
viddo - 24.01.2013
Hello, I have a problem here that that i don't know how to solve, I have tried everything possible for it.
The building where i added here is only visible till this range:
But when i move 2 feet away from it, It just disappears...
I don't know if there is anyway to make it appear for longer distances, but there are some other objects that i added appears from way too far.
Note: It's on 0.3x.
Re: TextDraw distance. -
antonio112 - 24.01.2013
Well, given the fact you used the function
CreateObject, according to
sa-mp wiki , you have the last parameter, as the
DRAW DISTANCE, which can be bigger in your case. Don't forget, the maximum draw distance is 500. More info here.
https://sampwiki.blast.hk/wiki/CreateObject
Re: TextDraw distance. -
viddo - 24.01.2013
Oh, i forgot to mention that i use CreateDynamicObject, Not CreateObject
Re: TextDraw distance. -
DaRk_RaiN - 24.01.2013
You can control that using the view distance in the last parameter.
pawn Code:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0);// Float:streamdistance= 200.0 change the stream distance.
Re: TextDraw distance. -
antonio112 - 24.01.2013
Quote:
Originally Posted by viddo
Oh, i forgot to mention that i use CreateDynamicObject, Not CreateObject
|
That's still the same ...
Why would you name the topic 'TextDraw', since I don't see a problem with any textdraws here.

)
Re: TextDraw distance. -
pasha97 - 24.01.2013
Quote:
Originally Posted by antonio112
That's still the same ...
Why would you name the topic 'TextDraw', since I don't see a problem with any textdraws here.  )
|
I think he meant Draw Distance xD
Anyway, in the 0.3x version there will be an abilyty to set extended draw distance for objects
Re: TextDraw distance. -
viddo - 24.01.2013
Quote:
Originally Posted by pasha97
I think he meant Draw Distance xD
Anyway, in the 0.3x version there will be an abilyty to set extended draw distance for objects 
|
Yeah exactly i meant draw distance xD, And i have set the Float

treamdistance = 500.0 And still nothing, I don't really know.