SA-MP Forums Archive
streaming distance of objects - 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: streaming distance of objects (/showthread.php?tid=498028)



streaming distance of objects - EmilLykke - 01.03.2014

When I am inside my server, the objects has a short distance of view.

Meaning that I have to be close to the objects in order to see it. How do I change that? Any ideas?


Re: streaming distance of objects - Konstantinos - 01.03.2014

For the version 2.7: a new argument/parameter has been added to CreateDynamicObject and it's the draw distance. Just set it to 300.0 and it'll be fine.

For the version 2.6.1: you can either use CreateDynamicObject + Streamer_SetFloatData to set the draw distance or CreateDynamicObjectEx.