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



Objects distance. - audriuxxx - 16.06.2013

Hi,

I want to ask, how to change object distance (i use icognito streamer) i use about ~100 object with CreateObject, but icongnito objects, i see, when i come near, not very near, but i want to make you can see that object in larger distance it's possible?


Re: Objects distance. - Avi57 - 16.06.2013

pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
Just change DrawDistance


Re: Objects distance. - audriuxxx - 16.06.2013

CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, FloatrawDistance = 0.0);

I see that in a_objects. How i see that objects if distance was 0.0 ?


Re: Objects distance. - audriuxxx - 16.06.2013

Please answer to it.. And what is the maximum distance?

And can i change this in server.cfg?

stream_distance 300.0
stream_rate 1000

To:

stream_distance 400.0
stream_rate 800