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(unitedgate2, 2360.95068, -1275.74683, 22.88520, 2.5, 0.00000, 0.00000, 90.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(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0);
MoveObject(unitedgate2, 2360.95068, -1275.74683, 22.88520, 2.5, 0.00000, 0.00000, 90.00000);
//check a_objects.inc
native MoveObject(objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float: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!