Jump to content

How to make base with passworded GATE ?? HELP


Phoenixx

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...