SA-MP Forums Archive
Object loading.. (+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: Object loading.. (+rep) (/showthread.php?tid=309405)



Object loading.. (+rep) - Alexander_123 - 07.01.2012

Hello!
in my server objects are not loading full.I have total 13707 objects in my server.
When i teleport to some stunts then it will load half of that.Anyone know how to fix this?


Re : Object loading.. (+rep) - rbcrp - 07.01.2012

Create a stock that loads them.. Maybe like this
Код:
stock LoadObjects()
{
     (all of you're objects here, all 13000 of them)
      return 1;
}
Код:
public OnGameModeInit()
{
     LoadObjects();
     return 1;
}
This should load ALL of the objects, try this and if it doesnt work then i may have another solution for you.


Re: Object loading.. (+rep) - TheArcher - 07.01.2012

You can do like rbcrp said. But you should use streamer.


Re: Object loading.. (+rep) - System64 - 07.01.2012

lol, samp supports just 400 object (0.3d = 1000), use streamer dude


Re: Object loading.. (+rep) - Alexander_123 - 07.01.2012

I already added streamer

include <streamer>
plugins streamer.so


Re: Object loading.. (+rep) - dud - 07.01.2012

Quote:
Originally Posted by Alexander_123
Посмотреть сообщение
I already added streamer

include <streamer>
plugins streamer.so
Replace all CreateObject with CreateDynamicObject it will be ok


Re: Object loading.. (+rep) - Alexander_123 - 07.01.2012

All objects are like that and only a few objects are CreateObjects ( 250 approx)


Re: Object loading.. (+rep) - BlackBank - 07.01.2012

Quote:
Originally Posted by Alexander_123
Посмотреть сообщение
All objects are like that and only a few objects are CreateObjects ( 250 approx)
The best way of fixing this, is just changing the CreateObjects to the streamer one...


Re: Object loading.. (+rep) - naruto_hina - 08.01.2012

It's an annoying Sa:Mp bug. It happen to me, when i played 0.3a. but now i'm playing 0.3d and there this bug is fixed


Re: Object loading.. (+rep) - TheArcher - 08.01.2012

Quote:
Originally Posted by naruto_hina
Посмотреть сообщение
It's an annoying Sa:Mp bug. It happen to me, when i played 0.3a. but now i'm playing 0.3d and there this bug is fixed
OMG. I bet everyone was thinking you used 0.3d . Update yourself then