SA-MP Forums Archive
Help me 3449 warnings - 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: Help me 3449 warnings (/showthread.php?tid=622004)



- Exlivebs - 17.11.2016

i had this warning When i tried to put this objects in my gamemode
warning 202: number of arguments does not match definition
They are Dynamic Object

they are 3449 btw
i mean all the new objects got this warning


Re: Help me 3449 warnings - TwinkiDaBoss - 17.11.2016

Show us 1 line of your CreateDynamicObject and make sure you are using the latest plugin and the include


remember that this is how it should be
pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);
These are the parameters you MUST have
Quote:

modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz

Easiest way to fix it? www.convertffs.com. Paste your code, set the output as CreateDynamicObject and it will add all the missing parameters