RobbyAJM Posted March 18, 2017 Share Posted March 18, 2017 Hello i tried to change the object size of gate, but it's doesnt work. i see the mta wiki there's no tutorial on serverside. local gate = createObject ( 16775,2389.1000976563,1984.0999755859,55.799999237061, 0, 0, 0 ) if ( gate ) then setObjectScale ( gate, 20) local state = 0 function move() if state == 0 then moveObject ( gate, 1000,2389.1000976563,1984.0999755859,75.799999237061) state = 1 elseif state == 1 then moveObject ( gate, 1000,2389.1000976563,1984.0999755859,55.799999237061) state = 0 end end addCommandHandler("tailubau21357329", move ) Link to comment
3aGl3 Posted March 18, 2017 Share Posted March 18, 2017 Looks like you're missing an end in your script after the setObjectScale function. Link to comment
NeXuS™ Posted March 18, 2017 Share Posted March 18, 2017 local gate = createObject ( 16775,2389.1000976563,1984.0999755859,55.799999237061, 0, 0, 0 ) if ( gate ) then setObjectScale ( gate, 20) end 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