SA-MP Forums Archive
What is the difference between CreateDynamicObject and CreateObject - 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: What is the difference between CreateDynamicObject and CreateObject (/showthread.php?tid=351368)



What is the difference between CreateDynamicObject and CreateObject - Oscii - 15.06.2012

Title says it all ;p

Im just wondering what the difference is except from the limit liftation.


Re: What is the difference between CreateDynamicObject and CreateObject - Steven82 - 15.06.2012

pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);

native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0);
This should show you the difference between them, other than more objects.


Re: What is the difference between CreateDynamicObject and CreateObject - FalconX - 15.06.2012

Quote:
Originally Posted by Steven82
Посмотреть сообщение
pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);

native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0);
This should show you the difference between them, other than more objects.
There might be more differences but heres one:-

Other then limit difference, you need Streamer plugin and include to use "CreateDynamicObject" and where as the "CreateObject" function is default which can be used without the streamer plugin/include.

-FalconX


Re: What is the difference between CreateDynamicObject and CreateObject - Oscii - 15.06.2012

Ah i understand now!

Thank you guys!

+1rep