Phoenixx Posted October 21, 2013 Posted October 21, 2013 I want to make base , and on it i can open gate by typing something like : /openbase ~~~~~~~~HELP MEEEEEEEEEEEEEE~~~~~~~
Dealman Posted October 21, 2013 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. If I help you in a thread and you need further assistance, please don't PM me - use the thread you created instead. This way everyone on the forum can take advantage of it.
Markeloff Posted October 21, 2013 Posted October 21, 2013 Double post. https://forum.multitheftauto.com/viewtopic.php?f=91&t=66524 Some people want it to happen, some wish it would happen, others make it happen.
MTA Team jhxp Posted October 21, 2013 MTA Team Posted October 21, 2013 Please read this topic first: https://forum.multitheftauto.com/viewtopic.php?f=91&t=47897 One of the [VCP] leaders // honorary member of the =PCP= gang. Do not PM me your MTA:SA Client / Server support questions, Lua scripting questions, unban requests or server toplist concerns - please ask them here: MTA:SA Support subforum, here: Scripting subforum, here: Ban appeals or here: Servers instead. For other inquiries - please expect delays in replies when messaging me.
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