Maps not Loading !
#1

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!
Reply
#2

We can't do much without code. :')
Reply
#3

What code? ... It's a map.. CreateDynamicObject
Reply
#4

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.
Reply
#5

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.
Reply
#6

Turn this:
PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1); 
Into
PHP код:
CreateDynamicObjectEx(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance 200.0Float: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.
Reply
#7

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.. ?
Reply
#8

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.
Reply
#9

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 ^
Reply
#10

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); ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)