Jump to content

random jail cell


Fantanic

Recommended Posts

Posted

Hello ,

I want to make it if i arrest someone he goes to a random jail cell.

for example i arrest P1 and he goes to cell 1 and i arrest P2 and he goes to a other random cell

Greetings ,

Jonas

Posted

Well, you can make a table containing the jail cells available and obtain a random one everytime, then remove that one from the table to avoid players using same cell.

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...