Chris!i! Posted January 14, 2016 Share Posted January 14, 2016 col1 = createMarker ( 183.6, 1927, 16, "cylinder", 8, 255, 255, 255, 170 ) gate1 = createObject(980, 184, 1926, 20, 0, 0, 90) function openGate1(player) if (player and isElement(player) and getElementType(player)) == "player" then local group = exports["CSTgroups"]:getPlayerGang(player) if (group and group == "SpecialForces" or exports.CSTteams:isPlayerInTeams(player, "Staff")) then moveObject ( gate1, 5000, 184, 1926, 30 ) end end end addEventHandler("onMarkerHit", col1, openGate1) Gate isnt moving whats wrong? Link to comment
Chris!i! Posted January 14, 2016 Author Share Posted January 14, 2016 Nvm guys, it was client side, it must be server sorry 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