Jump to content

Need help!!!!!!!!! i m noob:D


tarvo1999

Recommended Posts

Something like this?: [ added information ]

  
lift = createObject ( 5020, 1827.4000244141,-1189.3000488281, 22.799999237061, 0, 270, 90 ) 
-- Creating the object. 
  
function moveupthelift ()  -- the function 
moveObject ( lift, 5000, 1827.4000244141, -1189.3000488281, 63.299999237061 )  -- moving the object to the location 
end 
addCommandHandler ( "moveup", moveupthelift ) -- adding a command for move the object up 
  
function movedownthelift () -- the function 
moveObject ( lift, 5000, 1827.4000244141, -1189.3000488281, 22.799999237061 )  -- moving the object to the location 
end 
addCommandHandler ( "movedown", movedownthelift )  -- adding a command for move the object down 
  

Now you can typ in the chatbox /moveup to move the object up and /movedown for move the object down,

And u wanna learn lua?; here's some starting :

http://wiki.multitheftauto.com/wiki/Scr ... troduction

This is an forum, we are not creating scripts for you, I did, because I've nothing to do xD

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