PDA

View Full Version : warning 202: number of arguments does not match definition


GreatLouis
29/06/2018, 05:29 PM
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.

Lokii
29/06/2018, 05:47 PM
Update streamer!

GreatLouis
29/06/2018, 05:52 PM
If I update the streamer my gamemode bugs, so is there anyway I can fix this error using my old streamer?

Lokii
29/06/2018, 05:54 PM
EDIT: open streamer.inc and search for native createdynamicobject then send the whole line

GreatLouis
29/06/2018, 06:00 PM
Can you please explain that line?

Uvais
29/06/2018, 06:15 PM
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);

GreatLouis
29/06/2018, 06:31 PM
Thanks a lot @Lokii and @Uvais!

Uvais
29/06/2018, 06:33 PM
Glad i helped!