TextDraw distance.
#1

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

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

Oh, i forgot to mention that i use CreateDynamicObject, Not CreateObject
Reply
#4

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

Quote:
Originally Posted by viddo
View Post
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. )
Reply
#6

Quote:
Originally Posted by antonio112
View Post
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
Reply
#7

Quote:
Originally Posted by pasha97
View Post
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 Floattreamdistance = 500.0 And still nothing, I don't really know.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)