Halp with CreateDynamicObject - 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: Halp with CreateDynamicObject (
/showthread.php?tid=556331)
Help with CreateDynamicObject -
puki7 - 10.01.2015
I have a problem with streaming and draw distance I tried to change that to evrething I even putted it like this
CreateDynamicObject(19277, 1490.14270, -1121.97546, 120.07770, 0.00000, 0.00000, -90.00000, -1, -1, -1, 100000.0, 100000.0);
And its still not streaming good I need to come very close to see my object , how to change that ?
Can someone help?
Re: Halp with CreateDynamicObject -
Garavel - 10.01.2015
AFAIK, CreateDynamicObject makes the object globally visible if the draw distance is set above 600 so 100000.0 is unnecessary. Also, you might have way too many objects being streamed simultaneously. Press F5 in game and check the "objectslotsused" section, what is the object count there? Object streaming begins to malfunction when nearby object count exceeds 500.
Re: Halp with CreateDynamicObject -
puki7 - 10.01.2015
its 500, what should I do to stream it right can I have over 500 objects ? how to fix that ?
Re: Halp with CreateDynamicObject -
CalvinC - 10.01.2015
Either use less objects, or less draw distance set to the objects.
Re: Halp with CreateDynamicObject -
puki7 - 10.01.2015
yeah but when I use less draw distance it still doesnt load good like if I use 200 it loads when i get about 10 close to the object...