S7waj Posted June 15, 2020 Share Posted June 15, 2020 (edited) 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 June 15, 2020 by S7waj Link to comment
Hexon Posted June 20, 2020 Share Posted June 20, 2020 (edited) addEventHandler() onClientMarkerHit Edited June 20, 2020 by Hexon Link to comment
#!_A7M8D Posted June 20, 2020 Share Posted June 20, 2020 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now