Moving help - 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: Moving help (
/showthread.php?tid=367103)
Moving help -
CrazyChoco - 08.08.2012
Hello i have scripted a move gate, and when i lunch it and go to the gate ill get this in console:
Код:
movedynamicobject: Expecting 5 parameter(s), but found 8
and the gate does not open, any ideas?
Respuesta: Moving help -
[DOG]irinel1996 - 08.08.2012
Can you show me the line
(MoveDynamicObject) which moves this gate.
Actually, it says that the function should have 5 parameters, but you inserted 8. It's true that it should have 8, but let's take a look.
Correct parameters are:
pawn Код:
native MoveDynamicObject(objectid, Float:x, Float:y, Float:z, Float:speed, Float:rx = -1000.0, Float:ry = -1000.0, Float:rz = -1000.0);
Also, update the plugin/include.