SandroNL Posted July 22, 2010 Posted July 22, 2010 (edited) function Deur () Deur = createObject ( 2990, -1914.4519042969, 711.84002685547, 49.47647857666, 0, 0, 90.574798583984 ) moveObject ( Deur, 2990, -1914.4519042969, 711.84002685547, 35.47647857666 ) addCommandHandler("MIB", moveObject ) end end Edited July 22, 2010 by Guest
MaddDogg Posted July 22, 2010 Posted July 22, 2010 WTF? That's a total mess. First of all you can't name a function as an already existing MTA function. Second, you're second function is nested within the first one. I actually don't know, if that's allowed, but it's definitely not, what you want. You should really learn the basics of scripting, especially this section: https://wiki.multitheftauto.com/wiki/Scr ... le_command
AeroXbird Posted July 23, 2010 Posted July 23, 2010 You should seriously read the wiki next time. And so should you just take a look at the LUA wiki, it will explain something about the values you are using.
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