FreeGells Posted February 12, 2013 Posted February 12, 2013 Hello friends! I wonder if any of you have any resource to create gates in-game with password, I am looking this for a long time, thanks!
Vision Posted February 12, 2013 Posted February 12, 2013 https://community.multitheftauto.com/index.php?p= ... ils&id=664
Castillo Posted February 13, 2013 Posted February 13, 2013 If I'm right, you can't, it's just one gate and you must set the position inside "gate.map", and the password at "server.lua". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
FreeGells Posted February 13, 2013 Author Posted February 13, 2013 ok, now leaving a little of topic subject, how can I create a command with params? ex: /gate obj pass
Castillo Posted February 13, 2013 Posted February 13, 2013 addCommandHandler Example ( server side ): addCommandHandler ( "testing", function ( thePlayer, cmd, arg ) outputChatBox ( arg ) end ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
FreeGells Posted February 13, 2013 Author Posted February 13, 2013 And how i get the player position on server-side ? x_x
FreeGells Posted February 13, 2013 Author Posted February 13, 2013 getElementPosition ( thePlayer ) ?
Castillo Posted February 13, 2013 Posted February 13, 2013 Yes, that's right. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
xXMADEXx Posted February 13, 2013 Posted February 13, 2013 How i create the gate ingame ? You can use this. https://community.multitheftauto.com/index.php?p= ... ils&id=614 The Ultimate Lua Tutorial! | MTA PHP SDK
Castillo Posted February 13, 2013 Posted February 13, 2013 It doesn't include passwords though, which is what he wants. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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