Maps not Loading ! -
Jigsaw123 - 17.04.2015
Hello,
I have added a map to my server, and it won't load unless I get close to it. Here is a Screenshot:
Thank You!
Re: Maps not Loading ! -
Jimmy0wns - 17.04.2015
We can't do much without code. :')
Re: Maps not Loading ! -
Jigsaw123 - 17.04.2015
What code? ... It's a map.. CreateDynamicObject
Re: Maps not Loading ! -
Jimmy0wns - 17.04.2015
Quote:
Originally Posted by Jigsaw123
What code? ... It's a map.. CreateDynamicObject
|
What do you want us to do with a single picture with no further details at all?
Indeed,
nothing.
Re: Maps not Loading ! -
Jigsaw123 - 17.04.2015
How do I make the map load even when you're not close to it.. cause momentarily it only loads when you get close to it.
Re: Maps not Loading ! -
Jimmy0wns - 17.04.2015
Turn this:
PHP код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1);
Into
PHP код:
CreateDynamicObjectEx(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);
All I did is change
CreateDynamicObject into
CreateDynamicObjectEx and add the streamdistance and drawdistance parameters which
you need to change in order to take effect.
Re: Maps not Loading ! -
Jigsaw123 - 17.04.2015
CreateDynamicObject(12814, 2318.94409, 56.67810, 25.48090, 0.00000, 0.00000, 0.00000);
This is a line of my map how owuld I change this? It doesn't have interiorid, worldid, playerid.. ?
Re: Maps not Loading ! -
Lordzy - 17.04.2015
If you're loading it in run-time, you'll have to use
Streamer_Update on every players to update it suddenly. In case if you've to get too close to the object to view it, increase the streamdistance parameter.
Re: Maps not Loading ! - XProtocol - 17.04.2015
Quote:
Originally Posted by Jigsaw123
CreateDynamicObject(12814, 2318.94409, 56.67810, 25.48090, 0.00000, 0.00000, 0.00000);
This is a line of my map how owuld I change this? It doesn't have interiorid, worldid, playerid.. ?
|
That's why he used CreateDynamicObjectEx.
Код:
CreateDynamicObjectEx(12814, 2318.94409, 56.67810, 25.48090, 0.00000, 0.00000, 0.00000, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
Try the above code ^
Re: Maps not Loading ! -
Jigsaw123 - 17.04.2015
Quote:
Originally Posted by Lordzy
If you're loading it in run-time, you'll have to use Streamer_Update on every players to update it suddenly. In case if you've to get too close to the object to view it, increase the streamdistance parameter.
|
How would I use Streamer_Update? Where do i have to put Streamer_Update(playerid); ?