SA-MP Forums Archive
[ERROR] CreateDynamicObject: Expecting 11 parameter(s), but found 12 [HELP] - 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: [ERROR] CreateDynamicObject: Expecting 11 parameter(s), but found 12 [HELP] (/showthread.php?tid=536409)



[ERROR] CreateDynamicObject: Expecting 11 parameter(s), but found 12 [HELP] - SpikY_ - 09.09.2014

Pls help me .. server_log is showing me these errors




Re: [ERROR] CreateDynamicObject: Expecting 11 parameter(s), but found 12 [HELP] - MacT - 09.09.2014

You need update streamer plugin and include file.


Re: [ERROR] CreateDynamicObject: Expecting 11 parameter(s), but found 12 [HELP] - dark_ghost - 09.09.2014

Remove every CreateObject(...) under the OnGameModeIni() and put it on a notepad. After that, copy every CreateObject code and go to www.convertffs.com and convert everything to CreateDynamicObject(..).

My objects weren't spawning and it was given that error, I did that and I fixed everything. As far as i saw, you can only have 1 type of object spawn or it will not spawn the stuff... that's what I did, I've only got dynamic objects now under the gamemodeinit line and its working perfectly.