SA-MP Forums

Go Back   SA-MP Forums > Other > Everything and Nothing

Reply
 
Thread Tools Display Modes
Old 28/05/2016, 03:51 AM   #1
Naresh
Huge Clucker
 
Naresh's Avatar
 
Join Date: May 2014
Location: India,Tamil nadu, Chennai
Posts: 437
Reputation: 27
Default Createobject VS CreateDynamicObject

As the title says i wanna know the pros and cons about them thx
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Old 28/05/2016, 04:00 AM   #2
Onfroi
Banned
 
Join Date: Jan 2012
Location: Dallas, Texas
Posts: 1,506
Reputation: 226
Default Re: Createobject VS CreateDynamicObject

The only reason you should use CreateDynamicObjects is if you have more than 1,000 objects, there's nothing else to it.
Onfroi is offline   Reply With Quote
Old 28/05/2016, 04:01 AM   #3
Naresh
Huge Clucker
 
Naresh's Avatar
 
Join Date: May 2014
Location: India,Tamil nadu, Chennai
Posts: 437
Reputation: 27
Default Re: Createobject VS CreateDynamicObject

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

and createdynamicobject codes r unlimited ?

..
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Old 28/05/2016, 04:08 AM   #4
Onfroi
Banned
 
Join Date: Jan 2012
Location: Dallas, Texas
Posts: 1,506
Reputation: 226
Default Re: Createobject VS CreateDynamicObject

Quote:
Originally Posted by Naresh View Post
so it means that createobject codes and only be used up to 1000 objects ?

and createdynamicobject codes r unlimited ?

..
Yes.
Onfroi is offline   Reply With Quote
Old 28/05/2016, 04:31 AM   #5
Naresh
Huge Clucker
 
Naresh's Avatar
 
Join Date: May 2014
Location: India,Tamil nadu, Chennai
Posts: 437
Reputation: 27
Default Re: Createobject VS CreateDynamicObject

Thx.
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Old 28/05/2016, 05:11 AM   #6
SickAttack
High-roller
 
Join Date: Dec 2013
Posts: 4,768
Reputation: 754
Default Re: Createobject VS CreateDynamicObject

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.
SickAttack is offline   Reply With Quote
Old 28/05/2016, 05:40 AM   #7
Naresh
Huge Clucker
 
Naresh's Avatar
 
Join Date: May 2014
Location: India,Tamil nadu, Chennai
Posts: 437
Reputation: 27
Default Re: Createobject VS CreateDynamicObject

thx for the extra info
__________________
Thanks to Frag.gs and ev0lution For Hosting my server!
Thanks to All Who have helped me!
Naresh is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CreateObject or CreateDynamicObject ? Belengher Scripting Help 5 18/01/2016 07:06 AM
CreateObject vs CreateDynamicObject CesarLT Scripting Help 8 21/09/2013 11:54 AM
CreateDynamicObject and CreateObject using both Vvolk Scripting Help 2 13/12/2012 04:24 PM
[HELP]CreateObject>CreateDynamicObject Serialflood Help Archive 2 07/07/2011 01:38 PM


All times are GMT. The time now is 09:39 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.