SA-MP Forums Archive
wahts up 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: wahts up here (/showthread.php?tid=375928)



wahts up here - BigBaws - 08.09.2012

MovePlayerObject(playerid, Move_PLANE, 2001.195679, 1547.113892, 10);
error ...
error 035: argument type mismatch (argument 2)


Re: wahts up here - Lordzy - 08.09.2012

If im not wrong,
I think you're missing Z position.


Re : wahts up here - BigBaws - 08.09.2012

I changed it to that & its same wrong

MovePlayerObject(playerid, Move_PLANE, 1702.64, -2593.31, 12.53);


Re: wahts up here - kbalor - 08.09.2012

Correct format

pawn Код:
MovePlayerObject(playerid, objectid, 2001.195679, 1547.113892, 10);
Taken from https://sampwiki.blast.hk/wiki/MovePlayerObject


Re: wahts up here - clarencecuzz - 08.09.2012

Код:
MovePlayerObject(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed, Float:RotX = -1000.0, Float:RotY = -1000.0, Float:RotZ = -1000.0);
These parameters are essential and are the basics for scripting from versions 0.3d R2 and down.
(playerid, objectid, Float:X, Float:Y, Float:Z, Float:Speed)

You need playerid, objectid, X, Y and Z Floats, and finally you need the speed of the movement.


Re : wahts up here - BigBaws - 08.09.2012

i need an exemple Clarencecuzz please .


Re: wahts up here - MarkoN - 08.09.2012

pawn Код:
MovePlayerObject(playerid, Move_PLANE, 2001.195679, 1547.113892, 10, 3.1);



Re: wahts up here - clarencecuzz - 08.09.2012

Example:
MovePlayerObject(playerid, myobject, X, Y, Z, speed);

MovePlayerObject(playerid, Object_45, 12.2, 13, 1.0552, 5);


Re : wahts up here - BigBaws - 08.09.2012

error 035: argument type mismatch (argument 2) same Error


Re: wahts up here - clarencecuzz - 08.09.2012

Oh my god I didn't even read the error properly.
Show us where you use Move_PLANE. Or preferably, where you create it.