Phoenixx Posted October 21, 2013 Share Posted October 21, 2013 I want to make base , and on it i can open gate by typing something like : /openbase ~~~~~~~~HELP MEEEEEEEEEEEEEE~~~~~~~ Link to comment
Dealman Posted October 21, 2013 Share Posted October 21, 2013 I don't know what the most efficient way would be, but I'd assume you can make use of ColShapes to recognize whenever a player gets close to the gate, and prompt them with a message on what command and/or keybind to use. As for the password, you could use setElementData to temporarily store the password(Data is not kept after server restart, to store it after a restart you'll have to use SQL). Then you can compare if the entered password is equal or not to the actual password. And move the gate accordingly. Then again, as I said, there might be a better way to accomplish this. This is simply how I personally would do it. Give it a try, play around with it and see what you can achieve. Link to comment
Markeloff Posted October 21, 2013 Share Posted October 21, 2013 Double post. https://forum.multitheftauto.com/viewtopic.php?f=91&t=66524 Link to comment
MTA Team jhxp Posted October 21, 2013 MTA Team Share Posted October 21, 2013 Please read this topic first: https://forum.multitheftauto.com/viewtopic.php?f=91&t=47897 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