wahts up here
#1

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

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

I changed it to that & its same wrong

MovePlayerObject(playerid, Move_PLANE, 1702.64, -2593.31, 12.53);
Reply
#4

Correct format

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

Код:
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.
Reply
#6

i need an exemple Clarencecuzz please .
Reply
#7

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

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

MovePlayerObject(playerid, Object_45, 12.2, 13, 1.0552, 5);
Reply
#9

error 035: argument type mismatch (argument 2) same Error
Reply
#10

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


Forum Jump:


Users browsing this thread: 5 Guest(s)