Moving help

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?

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.

Forum Jump:

Users browsing this thread: 1 Guest(s)