Number of arguments doesnt match definition.. - 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: Number of arguments doesnt match definition.. (
/showthread.php?tid=631638)
Number of arguments doesnt match definition.. -
Pachino - 02.04.2017
Hi, i have 34 warnings, "Number of arguments doesnt match definition"
This is example:
PaintBallArena[arenaid][pbFlagBlueID] = CreateObject(BLUE_FLAG_OBJ, PaintBallArena[arenaid][pbFlagBlueSpawn][0], PaintBallArena[arenaid][pbFlagBlueSpawn][1], PaintBallArena[arenaid][pbFlagBlueSpawn][2], 0.0, 0.0, 0.0, PaintBallArena[arenaid][pbVirtual], PaintBallArena[arenaid][pbInterior], -1);
Is there any way to fix automatic all these warnings?
And how to fix it manualy?
Thanks
Re: Number of arguments doesnt match definition.. -
jlalt - 02.04.2017
You're putting number of dynamic object function parameters in the normal function.
by simple words use streamer include & plugin and rename, CreateObject to -> CreateDynamicObject
Re: Number of arguments doesnt match definition.. -
Pachino - 02.04.2017
Thank youu