SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 04/03/2017, 06:46 PM   #1
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 214
Reputation: 65
Red face Checkpoint Jail System [SQLITE SUPPORTED NOW]

Hey, it's JustMe again.
Today with a small Filterscript I've made for someone in the german community, I thought why not sharing it with you guys aswell?

Previous Releases

[Include] Elegant Login / Register TextDraws
[Include] Anti-Vehiclerepair Hack

Information

With this Filterscript, you can punish players by forcing them to run through an amount of checkpoints you choose. This is in my opinion way better than the usual "Jail Systems".
It saves everything with SQLite, this means a jailed player will get re-jailed everytime he connect to the server, till he's finished with the punishment.

Here's a short video showing the main functions:

https://youtu.be/oGB-gWMRllA

Commands

  • /cpjail - Jail a player
  • /cpunjail - Unjail a player
  • /prisonlist- View a list of all jailed players


Settings

HTML Code:
//Settings

// 0 = Disable setting
// 1 = Enable  setting

#define PUNISH_DELAY    10      //  Time in seconds to re-punish a player AFTER he has been spawned (if he disconnected while being jailed)
#define MIN_CPS         5       //  Smallest possible Checkpoint - punishment amount (recommended)
#define MAX_CPS         99      //  Highest possible Checkpoint - punishment amount (recommended)
#define SAVE_WEAPONS    1       //  Enable/Disable saving & loading players weapons
#define DIFFERENT_WORLD 0       //  Enable/Disable spawning in different virtual worlds to prevent players to see each other
#define PRO_PUNISHMENT  0       //  Enable/Disable that the jailed player gets cuffed or not (enabled = EXTREMELY ANNOYING)
#define SHOW_RULES      1       //  Enable/Disable random server-rules appearing if a player enter a checkpoint

Credits

Updates

v.2.0.0:

http://forum.sa-mp.com/showpost.php?...4&postcount=12

Test Server

server.lndsquad.com:2222

Download

English Version

German Version

End

That was all. Pretty simple system, there might be a lot to improve, just let me know here.
Leave a comment and post suggestions if you have a few !

Last edited by JustMe.77; 18/03/2017 at 02:05 PM.
JustMe.77 is offline   Reply With Quote
Old 04/03/2017, 07:01 PM   #2
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 214
Reputation: 65
Default Re: Checkpoint Jail System

Oh yea, I think you're right. I might change it in the next version, so streamer is not necessary anymore.
JustMe.77 is offline   Reply With Quote
Old 04/03/2017, 09:21 PM   #3
oMa37
Gangsta
 
Join Date: Feb 2016
Posts: 969
Reputation: 155
Default Re: Checkpoint Jail System

I don't know how you came up with this idea lol, But I like it.
oMa37 is offline   Reply With Quote
Old 04/03/2017, 09:43 PM   #4
Jelly23
Guest
 
Posts: n/a
Default Re: Checkpoint Jail System

Indeed, an unique way of punishing people. I loved it.

+REP
  Reply With Quote
Old 05/03/2017, 12:17 PM   #5
BlackbirdXd
Big Clucker
 
BlackbirdXd's Avatar
 
Join Date: May 2016
Location: Home
Posts: 122
Reputation: 12
Default Re: Checkpoint Jail System

Hahah, this is pretty good way to punish players, instead of simply teleporting to them to jail, and let them to go to afk all the time while they're in jail. +REP
BlackbirdXd is offline   Reply With Quote
Old 05/03/2017, 12:36 PM   #6
Bolex_
Gangsta
 
Bolex_'s Avatar
 
Join Date: Aug 2015
Location: Croatia.
Posts: 592
Reputation: 117
Default Re: Checkpoint Jail System

Do something with Quiz, they have to answer on all questions correct :P
Bolex_ is offline   Reply With Quote
Old 05/03/2017, 02:43 PM   #7
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 214
Reputation: 65
Default Re: Checkpoint Jail System

Thanks for the positive feedback, the new version is already 95% finished and is ready to be released, there are just tiny improvements necessary, which I can't do till next Friday duo my absence because I'm in army.
JustMe.77 is offline   Reply With Quote
Old 05/03/2017, 03:20 PM   #8
Riccardomen
Little Clucker
 
Join Date: Aug 2012
Posts: 21
Reputation: 1
Default Re: Checkpoint Jail System

But players jailed, they can kill each other?
Riccardomen is offline   Reply With Quote
Old 05/03/2017, 03:30 PM   #9
JustMe.77
Huge Clucker
 
JustMe.77's Avatar
 
Join Date: Jun 2013
Location: Germany
Posts: 214
Reputation: 65
Default Re: Checkpoint Jail System

Quote:
Originally Posted by Riccardomen View Post
But players jailed, they can kill each other?
The system automatically removes the weapons from the player once he has been jailed and gives him the weapons back if he is done with running through all checkpoints or getting unjailed by an admin.
JustMe.77 is offline   Reply With Quote
Old 14/03/2017, 09:43 AM   #10
Fvckboi
Little Clucker
 
Join Date: Mar 2017
Posts: 3
Reputation: 0
Default Re: Checkpoint Jail System

Quote:
Originally Posted by Jelly23 View Post
Indeed, an unique way of punishing people. I loved it.

+REP
But some people can TP hack xD
Fvckboi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Jail system bug NeXoR Scripting Help 3 23/10/2016 10:18 AM
I need help with Jail System Lirbo Scripting Help 2 05/10/2014 06:49 AM
Help! Save mute system and admin jail system. Firstaction Scripting Help 3 11/05/2014 07:44 PM
Jail cop system Lynet Scripting Help 6 26/10/2013 03:55 PM
JAIL system Kudoz Scripting Help 10 20/01/2013 08:01 AM


All times are GMT. The time now is 08:34 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.