tarvo1999 Posted July 11, 2012 Share Posted July 11, 2012 Hi i want do to moveable elevator but i m very noob!! can anybody help meee? Elevator down: Elevator up: what i want do to? i want do studie scripting! and sorry for my bad english:) Link to comment
denny199 Posted July 11, 2012 Share Posted July 11, 2012 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 : https://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 Link to comment
tarvo1999 Posted July 11, 2012 Author Share Posted July 11, 2012 but where i but this commands? pawno says 6 errors!! Link to comment
denny199 Posted July 11, 2012 Share Posted July 11, 2012 This is an MTA SAN ANDREAS forum NOT SAMP ! 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