Checkpoint Jail System [SQLITE SUPPORTED NOW] -
JustMe.77 - 04.03.2017
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://*********/oGB-gWMRllA
Commands
- /cpjail - Jail a player
- /cpunjail - Unjail a player
- /prisonlist- View a list of all jailed players
Settings
Код HTML:
//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

!
Re: Checkpoint Jail System -
JustMe.77 - 04.03.2017
Oh yea, I think you're right. I might change it in the next version, so streamer is not necessary anymore.
Re: Checkpoint Jail System -
oMa37 - 04.03.2017
I don't know how you came up with this idea lol, But I like it.
Re: Checkpoint Jail System - Jelly23 - 04.03.2017
Indeed, an unique way of punishing people. I loved it.
+REP
Re: Checkpoint Jail System -
BlackbirdXd - 05.03.2017
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
Re: Checkpoint Jail System -
Bolex_ - 05.03.2017
Do something with Quiz, they have to answer on all questions correct :P
Re: Checkpoint Jail System -
JustMe.77 - 05.03.2017
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.
Re: Checkpoint Jail System -
Riccardomen - 05.03.2017
But players jailed, they can kill each other?
Re: Checkpoint Jail System -
JustMe.77 - 05.03.2017
Quote:
Originally Posted by Riccardomen
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.
Re: Checkpoint Jail System -
Fvckboi - 14.03.2017
Quote:
Originally Posted by Jelly23
Indeed, an unique way of punishing people. I loved it.
+REP
|
But some people can TP hack xD
Re: Checkpoint Jail System -
JustMe.77 - 18.03.2017
Version 2.0.0
Added SQLite Feature, now it save & load a jailed player once he connect.
- Player
- Checkpoint Amount
- Old Position
- Old VirtualWorld
- Old Interior
- Old Weapons
This means, if a player leave the server while he was jailed, he'll get jailed again once he connect to the server.
If you unjail the player, he'll get his old position, weapons etc back..
Added an optional "Random Server Rules" setting.
This means, you can let appear server rules each time a player enters a checkpoint.
All you've to do is to write a few rules inside the randomRules array.
Added PRO Punishment Option.
If you enable this setting, a player gets the "cuffed" animation which makes the CP Jail extremely annoying (should prevent players from breaking rules :P )
Added bunch of settings you can do inside the script
Код HTML:
//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
And a few more
Some improvements have been made and more..
Thanks to @Jelly23 for helping me with the whole SQLite Update

!
Re: Checkpoint Jail System - Jelly23 - 18.03.2017
Quote:
Originally Posted by JustMe.77
Version 2.0.0
Added SQLite Feature, now it save & load a jailed player once he connect.
- Player
- Checkpoint Amount
- Old Position
- Old VirtualWorld
- Old Interior
- Old Weapons
This means, if a player leave the server while he was jailed, he'll get jailed again once he connect to the server.
If you unjail the player, he'll get his old position, weapons etc back..
Added an optional "Random Server Rules" setting.
This means, you can let appear server rules each time a player enters a checkpoint.
All you've to do is to write a few rules inside the randomRules array.
Added PRO Punishment Option.
If you enable this setting, a player gets the "cuffed" animation which makes the CP Jail extremely annoying (should prevent players from breaking rules :P )
Added bunch of settings you can do inside the script
Код HTML:
//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
And a few more
Some improvements has been made and more..
|
Good Job.
Re: Checkpoint Jail System -
Variable™ - 18.03.2017
Gotcha, nice work.
Re: Checkpoint Jail System -
JustMe.77 - 18.03.2017
Thanks for the positive feedback - I'm open for any suggestions

!
PS: The latest update is available on the test server, IP is mentioned in the main post
Re: Checkpoint Jail System -
JustMe.77 - 26.03.2017
I'm still open for suggestions
Re: Checkpoint Jail System -
Cyboorg - 26.05.2017
Good job.
Re: Checkpoint Jail System -
RxErT - 26.05.2017
Just tell me what the point of this?
Re: Checkpoint Jail System -
Bolex_ - 26.05.2017
Quote:
Originally Posted by RxErT
Just tell me what the point of this?
|
This ^
Quote:
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://*********/oGB-gWMRllA
|
Re: Checkpoint Jail System -
Kimsa - 27.05.2017
Nice +Repped
Re: Checkpoint Jail System -
JustMe.77 - 27.05.2017
Quote:
Originally Posted by RxErT
Just tell me what the point of this?
|
With this system you can jail/punish a player with an uncommon manner.
Most servers, which have a jail system, teleport a player to a specific location for a specific time.
All the player has to do is to wait till the time is over and that's all, he is out again.
He won't try to change his behaviour and keep breaking the rules, because with the normal jail system he can watch TV or do something else to get out of the jail.
With my system we avoid this problem.
After you've jailed a player, he get teleported to that arena with a specific amount of checkpoints.
Now, the player should be pissed, at least when you've defined #define PRO_PUNISHMENT to 1.
He has to run through the amount of checkpoints you've gave him. There's no other way to get out, so he has to actively do something and can't do other things to get out
Hope you understood it, thanks for the feedback.