![]() |
Jail Script
Ok, on my PW I have a jail but i need some scripts for it. One I am trying to make is like this. There are 10 jail cells. When someone gets warped to jail it auto checks to see which cells are empty or has the least people and puts them in that one. The other one is what is the script so that they cannot type to get away like Unstick me. What is the script to get rid of that?
|
1) I cheat. Figure the cells are all numbered:
if(playerenters){ this.rot=(this.rot+1)%10; if(this.rot<5) playery=10; else playery=50; if(this.rot=0) playerx=10; else if(this.rot=1) playerx=20; //else if etc. } Every time someone enters, it puts them in the next cell, and it sorta loops, you get the idea. 2) The easy way is to edit the serverconfig.txt in your playerworld's FTP root directory, set the JailLevels=police2.graal line up right. The hard(er) way is to set a flag when they enter the jail, and an NPC in onlinestartlocal to warp them back if they unstick, but it's not as tidy. |
Especially if NPC-Server goes down
No-Server = Fugitives |
To get rid of "unstick me" it's quite easy....
Just edit your server options... jaillevels= jail.nw |
No ****ing way you bumped this, no ****ing way.
|
Necro of the year, right here.
Posts ++. |
holy ****
|
Hey thanks for the help man!
|
I'm sure Lord Helmut will highly appreciate your useful contribution to this thread.
|
holy ****
no ****ing way! o_O |
postcount++
|
Maybe this shows up in search?
|
Quote:
|
raise your hand if you actually played babylon
-raises hand- |
Nooooooooooooo wayyyyyyy a double rainbowww?!!!!!!!!!!! Nooo wayy
|
*raises hand*
|
*raises hand*
|
All times are GMT +2. The time now is 12:59 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.