warning 202: number of arguments does not 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: warning 202: number of arguments does not match definition (
/showthread.php?tid=655788)
warning 202: number of arguments does not match definition -
GreatLouis - 29.06.2018
Whenever I compile my script I get this warning due to which the mapping does not loads:
Код:
(305) : warning 202: number of arguments does not match definition
Line 305 is this:
Код:
GarageObject = CreateDynamicObject(19861,1296.030,-1862.197,15.036,0.000,0.000,0.000,-1,-1,-1,300.000,300.000);
Please tell me how to fix it.
Re: warning 202: number of arguments does not match definition -
Lokii - 29.06.2018
Update streamer!
Re: warning 202: number of arguments does not match definition -
GreatLouis - 29.06.2018
If I update the streamer my gamemode bugs, so is there anyway I can fix this error using my old streamer?
Re: warning 202: number of arguments does not match definition -
Lokii - 29.06.2018
EDIT: open streamer.inc and search for native createdynamicobject then send the whole line
Re: warning 202: number of arguments does not match definition -
GreatLouis - 29.06.2018
Can you please explain that line?
Re: warning 202: number of arguments does not match definition -
Uvais - 29.06.2018
He means go to your includes folder where all the includes are present and open the streamer include files. "streamer.inc". Find the "native CreateDynamicObject" line inside it and copy the whole line and send it here.
EDIT: Try This!
Код:
CreateDynamicObject(19861, 1296.030, -1862.197, 15.036, 0.0 , 0.0, 0.0, 300);
Re: warning 202: number of arguments does not match definition -
GreatLouis - 29.06.2018
Thanks a lot @Lokii and @Uvais!
Re: warning 202: number of arguments does not match definition -
Uvais - 29.06.2018
Glad i helped!