AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Jail Plugin (https://forums.alliedmods.net/showthread.php?t=152408)

Snaggle 03-08-2011 19:23

Jail Plugin
 
Could someone create a jail plugin that teleports a player to jail & set's their spawn there until you release them?

I tried JailMod++ but players can free themselves by typing kill in console.

Basic features...
  • !jail NAME Teleports player to a stored set of co-ords (up to 4/5 maybe?)
  • If player dies, it just warps them back to one of the stored co-ords
  • Once an Admin types !free NAME respawns the player back at their normal spawn point


If someone could do that, that would be great.

databomb 03-08-2011 20:44

Re: Jail Plugin
 
Considering the JailMod++ does 2/3 of what you're asking for and the rest is an easy change from within that plugin, why not ask MistaGee first to see if he is interested in including this? If not, post back and I'll look into it.

Snaggle 03-09-2011 02:42

Re: Jail Plugin
 
Each time I tried to get on the PM page it just came up as a white screen, also he hasn't been on since August of last year, probably won't come back >_<

databomb 03-09-2011 08:14

Re: Jail Plugin
 
You haven't tried posting to his topic. Loads of people have e-mail alerts for their plugins and they'll at least read them.

Snaggle 03-13-2011 05:31

Re: Jail Plugin
 
Me again, no replies :(

databomb 03-14-2011 20:51

Re: Jail Plugin
 
1 Attachment(s)
Try this, I made a new cvar called jail_spawn which defaults to 1 so players must be unjailed before they leave. Completely untested other than it compiles correctly.

Snaggle 03-15-2011 21:57

Re: Jail Plugin
 
Thanks, but people are still able to just type kill and free themselves. I tried changing your cvar a few times, but nothing worked.

databomb 03-15-2011 23:02

Re: Jail Plugin
 
1 Attachment(s)
Ok. I added a delay between the spawn and jailing but it should have worked last time. If this doesn't work then I'd have to add in some log calls to debug its behavior.

Snaggle 03-16-2011 04:45

Re: Jail Plugin
 
Still doesn't appear to be working. It teleports me to jail fine and if I do !unjail, it teleports me back to spawn. But I can still free myself by entering kill or changing class/team etc.

databomb 03-16-2011 09:17

Re: Jail Plugin
 
So it never teleports people after they spawn? Or did you really want team-changing, class-changing, suiciding blocked?


All times are GMT -4. The time now is 01:47.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.