Jump to content

Move Object Help


S7waj

Recommended Posts

I Created A bridge when player hit marker the bridge lower i want the bridge get up after time

-server side

local x,y,z = 725.70001220703, 574, 28
local time = 10000
local gate = createObject(5333, 725.70001220703, 574, 28, 359, 0, 93)
local marker = createMarker(721.80884, 668.31335, 9.33671, "cylinder", 1.4, 255, 0, 0, 255)
 
function moveGate(hitPlayer, matchingDimension)
        moveObject(gate, time, 725.70001220703, 574, 28, 0, 0, 0)
end

 

Edited by S7waj
Link to comment

first of all you need to create a bridge using createObject , then createMarker

use onClientMarkerHit then moveObject to make the first move

then setTimer with moveObject again to move it to its original position

* if you need everone see the bridge while it moving use the above server side

and use onMarkerHit Insteat , all the colored texts are functions found here

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...