[FilterScript] Checkpoint Jail System
#1

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 !
Reply
#2

Oh yea, I think you're right. I might change it in the next version, so streamer is not necessary anymore.
Reply
#3

I don't know how you came up with this idea lol, But I like it.
Reply
#4

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

+REP
Reply
#5

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
Reply
#6

Do something with Quiz, they have to answer on all questions correct :P
Reply
#7

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.
Reply
#8

But players jailed, they can kill each other?
Reply
#9

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.
Reply
#10

Quote:
Originally Posted by Jelly23
Посмотреть сообщение
Indeed, an unique way of punishing people. I loved it.

+REP
But some people can TP hack xD
Reply
#11

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 !
Reply
#12

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.
Reply
#13

Gotcha, nice work.
Reply
#14

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
Reply
#15

I'm still open for suggestions
Reply
#16

Good job.
Reply
#17

Just tell me what the point of this?
Reply
#18

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
Reply
#19

Nice +Repped
Reply
#20

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


Forum Jump:


Users browsing this thread: 8 Guest(s)