SA-MP Forums Archive
Problem with object. - 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: Problem with object. (/showthread.php?tid=606421)



Problem with object. - dhelz7 - 04.05.2016

After I finished past problem. I got a new problem.
We have some mappings for LSPD. But we couldn't found the objects.
It took a long time to get the objects back (slow load).
Can anyone tell me the problems also the way out? Thank u.

Sorry for my bad english


Re: Problem with object. - Micko123 - 04.05.2016

Are you using CreateDynamicObject??


Re: Problem with object. - colonel-top - 04.05.2016

If Using streamer object check that your stream range is correct or try
PHP код:
Streamer_Update(playerid); 



Re: Problem with object. - dhelz7 - 04.05.2016

Quote:
Originally Posted by colonel-top
Посмотреть сообщение
If Using streamer object check that your stream range is correct or try
PHP код:
Streamer_Update(playerid); 
Where I should put that text?


Re: Problem with object. - dhelz7 - 04.05.2016

Also how to set stream range? Thank u


Re: Problem with object. - colonel-top - 04.05.2016

PHP код:
OnPlayerSpawn 
BTW make sure that in native you didn't change default value I think original is 250
And Keep in mind CreateDynamicObject can stream 1000 object at most per area & range
and you might check in server.cfg that stream range are not too low


To Check Stream Range find Streamer.inc and open it inside have native CreateDynamicObject

and make sure that object you create bu CreateDynamicCP "Correctly Syntax"

pawn Код:
CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:distance);



Re: Problem with object. - Sew_Sumi - 04.05.2016

CreateDynamicObject(modelid, Float: x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float: streamdistance = STREAMER_OBJECT_SD, Float: drawdistance = STREAMER_OBJECT_DD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1) ;