SA-MP Forums Archive
Load objects - 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: Load objects (/showthread.php?tid=558650)



Load objects - Airblog - 18.01.2015

Hello everyone!
i have a problem when i run my game mode and i enter in game my objects dont load!
i have a stock like this
Код:
Stock LoadObjects()
{
CreateObject(...
and i put LoadObjects(); under OnGamemodinit
it was working but i don't know why it doesn't load
(Sry for bad english)


Re: Load objects - Ironboy - 18.01.2015

Quote:
Originally Posted by Airblog
Посмотреть сообщение
Hello everyone!
i have a problem when i run my game mode and i enter in game my objects dont load!
i have a stock like this
Код:
Stock LoadObjects()
{
CreateObject(...
and i put LoadObjects(); under OnGamemodinit
it was working but i don't know why it doesn't load
(Sry for bad english)
There are limitations for CreateObject, use the streamer if you have more than 1000 objects.


Re: Load objects - Airblog - 19.01.2015

i have streamer but it doesn't word


Re: Load objects - Schneider - 19.01.2015

Well, if you have streamer, you should use CreateDynamicObject instead of CreateObject


Re: Load objects - Airblog - 19.01.2015

i used it but have too much objects that i cant change them to createdynamicobject and repair warnings tag mistmach