SA-MP Forums Archive
Any fix here? - 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: Any fix here? (/showthread.php?tid=495130)



Any fix here? - UnknownOwner - 16.02.2014

I am getting spammed by this in my logs:
Код:
CreateDynamicObject: Expecting 12 parameter(s), but found 11
Any fix for it?


Re: Any fix here? - Scenario - 16.02.2014

Yeah- add the 12th parameter.


Re: Any fix here? - UnknownOwner - 16.02.2014

How?


Re: Any fix here? - ikbenremco - 16.02.2014

pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
You missed one of these.


Re: Any fix here? - Tidzii - 16.02.2014

Re-edit your .pwn
and replace 11 by 12


Re: Any fix here? - Twizted - 16.02.2014

If you can't figure out what's missing, you can post the code here.