What's the difference ? - 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's the difference ? (
/showthread.php?tid=573999)
What's the difference ? -
CoachCarter - 12.05.2015
Hello SA-MP Community
Can someone explain what's difference between CreateDynamicObjectEx and CreateDynamicObject
Re: What's the difference ? -
Konstantinos - 12.05.2015
It's extended, you can use arrays for VW, interiors and players.
Let's say, you create a specific object only visible at virtual world 2, 3, 6; at interior 0, 5 and for players 1, 6
If you'd have to use
CreateDynamicObject instead, you'd have to choose only 1 virtual world, interior, player (or -1 for all) unless you used other functions to set it visible but that's the point of
CreateDynamicObjectEx - creating them directly.
Re: What's the difference ? -
CoachCarter - 12.05.2015
Okay thank you : )