SA-MP Forums Archive
MoveObject 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: MoveObject warning 202: number of arguments does not match definition (/showthread.php?tid=593139)



MoveObject warning 202: number of arguments does not match definition - SupperRobin6394 - 02.11.2015

So I got this warning: "warning 202: number of arguments does not match definition" on all my MoveObject lines, all of them are build the same like this one for example:
PHP код:
MoveObject(unitedgate22360.95068, -1275.7468322.885202.50.000000.0000090.00000); 
Does anyone know what i am going wrong? If I use the command that will make it move it does work.


Re: MoveObject warning 202: number of arguments does not match definition - AbyssMorgan - 02.11.2015

PHP код:
new unitedgate2 CreateObject(modelidFloat:XFloat:YFloat:ZFloat:rXFloat:rYFloat:rZFloat:DrawDistance 0.0);
MoveObject(unitedgate22360.95068, -1275.7468322.885202.50.000000.0000090.00000);
//check a_objects.inc
native MoveObject(objectidFloat:XFloat:YFloat:ZFloat:SpeedFloat:RotX = -1000.0Float:RotY = -1000.0Float:RotZ = -1000.0); 
P.S. Use Dynamic Object


Re: MoveObject warning 202: number of arguments does not match definition - SupperRobin6394 - 02.11.2015

objects.inc was the problem, thank you so much again!