Difference between CreateObject and CreateDynamicObject? - 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: Difference between CreateObject and CreateDynamicObject? (
/showthread.php?tid=440665)
Difference between CreateObject and CreateDynamicObject? -
Grooty - 30.05.2013
Sorry, I'm a noob to mapping/scripting...
Re: Difference between CreateObject and CreateDynamicObject? -
Vince - 30.05.2013
CreateObject is a native function and supports up to 1000 objects. CreateDynamicObject is a streamer plugin function and supports unlimited objects.
Re: Difference between CreateObject and CreateDynamicObject? -
Grooty - 30.05.2013
Quote:
Originally Posted by Vince
CreateObject is a native function and supports up to 1000 objects. CreateDynamicObject is a streamer plugin function and supports unlimited objects.
|
So you should always use Dynamic?
Re: Difference between CreateObject and CreateDynamicObject? -
nielsbon1 - 30.05.2013
Quote:
Originally Posted by Grooty
So you should always use Dynamic?
|
If you go over the 1000 objects then i would use definitly a streamer.
Re: Difference between CreateObject and CreateDynamicObject? -
Pottus - 30.05.2013
Depends, CreateObject() can be useful for creating a catch object when teleporting into custom object interiors.
Re: Difference between CreateObject and CreateDynamicObject? -
Vince - 30.05.2013
Quote:
Originally Posted by [uL]Pottus
Depends, CreateObject() can be useful for creating a catch object when teleporting into custom object interiors.
|
Nah, just use Streamer_UpdateEx before teleporting and you won't have problems.
Re: Difference between CreateObject and CreateDynamicObject? -
Pottus - 30.05.2013
Quote:
Originally Posted by Vince
Nah, just use Streamer_UpdateEx before teleporting and you won't have problems.
|
Tried and from previous experience it's glitchy as fuck so you will have problems