Jump to content

setObjectScale in gate serverside


RobbyAJM

Recommended Posts

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

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