Streamer problem , WTF? [REP+] - 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: Streamer problem , WTF? [REP+] (
/showthread.php?tid=497459)
Streamer problem , WTF? [REP+] -
terrow - 26.02.2014
So let me explain.
All my maps are stored in a FS called streamermap.
Okey i compile IT no problem .
I have the last STREAMER Plugin updated.
But the problem is here.
The maps disapper and appear when i am close to a object for example.
In Las Venturas i have some objects when i run 10 meters objects from my back disapper and objects appear in my front i show you some pics to understand what i want to say.
http://www.imgz.ro/i/1393460809-sa-mp-066.png
You can see in first pick object is under me.
Second pic
http://www.imgz.ro/succes.php?uid=67801
Object 1 dissapered and object 2 appeared ....
Please help me +REP!
Re: Streamer problem , WTF? [REP+] -
Phil_Cutcliffe - 26.02.2014
Show your code for creating the objects in that picture.
Re: Streamer problem , WTF? [REP+] -
terrow - 26.02.2014
But , that's problem is for all maps not only for this map.
I DETECTED THE PROBLEM BUT IDK HOW TO SOLVE IT SO LOOK:
IF I MAKE A MAP WITH CREATEOBJECT ALL IS GOOD
IF I USE CREATEDYNAMICOBJECT appear the problem ..
So please help me!
Re: Streamer problem , WTF? [REP+] -
AceFlyer - 27.02.2014
what a streamer does is it loads all the objects in a given radius of a player. this is useful when there is a large number of objects in a relatively small area as having objects exceeding the limit would cause problems.
if you do not have more than 1000 objects in an area and are sure that at no point the objects would cross 1000 you can just use createobject instead.
sa-mp limits:
https://sampwiki.blast.hk/wiki/Limits
if you have more than 1000 objects increase the draw distance of the objects:
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
in the function set the last arguement (streamdistance) to something higher.
Re: Streamer problem , WTF? [REP+] -
terrow - 27.02.2014
Any method isn't?
Re: Streamer problem , WTF? [REP+] -
MasterReturnz - 27.02.2014
You have to increase draw distance for objects.