Posts: 3,715
Threads: 358
Joined: Apr 2012
Reputation:
0
I experienced this problem before and, damn, it is annoying!
Though i never find a proper solution for it, I have made my own solution by increasing the Z height to 5, 10 etc..
Posts: 244
Threads: 55
Joined: Nov 2013
Reputation:
0
Or you can create objects that hold vehicles (ground objects) using CreateObject, not CreateDynamicObject.
Posts: 789
Threads: 76
Joined: Nov 2011
Reputation:
0
Kamiliu.. - I know that is a solution, but the thing is i would have to edit each one of the objects then. I am also, from before, very close to the sa-mp limit for CreateObject and RemoveBuildingForPlayer.
Posts: 244
Threads: 55
Joined: Nov 2013
Reputation:
0
Well, then you can increase stream distance. in func. CreateDynamicObject()
CreateDynamicObject(objectid, x, y, z, rx, ry, rz, stream_distance);
Last parameter has default of 100, so you can increase it to 1000 or higher.. Try it.
Posts: 694
Threads: 2
Joined: Oct 2012
Reputation:
0
There are a couple solutions, you should keep the objects spawned at all time, it's achievable by putting stream distance of Dynamic objects to something high or negative (-1 works good nuff), or use the default CreateObject
Edit: From ~1500 items I have in my gamemode, only 12 of them are platforms where vehicles are parked (garage floors mostly) so you just need to find and change those, not your whole mappings.
Posts: 1,208
Threads: 36
Joined: Apr 2015
Quote:
Originally Posted by kamiliuxliuxliux
Well, then you can increase stream distance. in func. CreateDynamicObject()
CreateDynamicObject(objectid, x, y, z, rx, ry, rz, stream_distance);
Last parameter has default of 100, so you can increase it to 1000 or higher.. Try it.
|
Did you see eye streamer?
PHP код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);