Jump to content

moveObject not working


hackermagus

Recommended Posts

I made a script

local vehicle = createVehicle(596, 2392.09009, -1729.73193, 13.38281, 0, 0, 90)
local ped = createPed(281, 2400, -1735, 13.38281)
warpPedIntoVehicle(ped, vehicle)
moveObject(vehicle, 30000, 2229.23389, -1729.73193, 13.38281)

And as you can see, I want the vehicle to move on posX 2229.23389 in 30 seconds, but it not working. It creates the vehicle, the ped, insert the ped into the vehicle, but it not moving.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...