SA-MP Forums Archive
Createobject VS CreateDynamicObject - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Createobject VS CreateDynamicObject (/showthread.php?tid=608137)



Createobject VS CreateDynamicObject - Naresh - 28.05.2016

As the title says i wanna know the pros and cons about them thx


Re: Createobject VS CreateDynamicObject - Onfroi - 28.05.2016

The only reason you should use CreateDynamicObjects is if you have more than 1,000 objects, there's nothing else to it.


Re: Createobject VS CreateDynamicObject - Naresh - 28.05.2016

so it means that createobject codes and only be used up to 1000 objects ?

and createdynamicobject codes r unlimited ?

..


Re: Createobject VS CreateDynamicObject - Onfroi - 28.05.2016

Quote:
Originally Posted by Naresh
Посмотреть сообщение
so it means that createobject codes and only be used up to 1000 objects ?

and createdynamicobject codes r unlimited ?

..
Yes.


Re: Createobject VS CreateDynamicObject - Naresh - 28.05.2016

Thx.


Re: Createobject VS CreateDynamicObject - SickAttack - 28.05.2016

CreateDynamicObjects are streamed out when you go out of the stream distance's radius. CreateObjects aren't. Due to the fact of having a limit of 1,000 objects streamed in at once, that's why CreateDynamicObjects were created.

CreateDynamicObjects aren't "unlimited" in general, once you reach the 1,000 streamed in objects peak, no other objects will stream in for the player.


Re: Createobject VS CreateDynamicObject - Naresh - 28.05.2016

thx for the extra info