[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


Messages In This Thread
Checkpoint Jail System [SQLITE SUPPORTED NOW] - by JustMe.77 - 04.03.2017, 17:46
Re: Checkpoint Jail System - by JustMe.77 - 04.03.2017, 18:01
Re: Checkpoint Jail System - by oMa37 - 04.03.2017, 20:21
Re: Checkpoint Jail System - by Jelly23 - 04.03.2017, 20:43
Re: Checkpoint Jail System - by BlackbirdXd - 05.03.2017, 11:17
Re: Checkpoint Jail System - by Bolex_ - 05.03.2017, 11:36
Re: Checkpoint Jail System - by JustMe.77 - 05.03.2017, 13:43
Re: Checkpoint Jail System - by Riccardomen - 05.03.2017, 14:20
Re: Checkpoint Jail System - by JustMe.77 - 05.03.2017, 14:30
Re: Checkpoint Jail System - by Fvckboi - 14.03.2017, 08:43
Re: Checkpoint Jail System - by JustMe.77 - 18.03.2017, 12:40
Re: Checkpoint Jail System - by Jelly23 - 18.03.2017, 13:12
Re: Checkpoint Jail System - by Variable™ - 18.03.2017, 14:15
Re: Checkpoint Jail System - by JustMe.77 - 18.03.2017, 16:33
Re: Checkpoint Jail System - by JustMe.77 - 26.03.2017, 16:49
Re: Checkpoint Jail System - by Cyboorg - 26.05.2017, 15:24
Re: Checkpoint Jail System - by RxErT - 26.05.2017, 16:03
Re: Checkpoint Jail System - by Bolex_ - 26.05.2017, 16:20
Re: Checkpoint Jail System - by Kimsa - 27.05.2017, 13:07
Re: Checkpoint Jail System - by JustMe.77 - 27.05.2017, 14:23
Re: Checkpoint Jail System - by RxErT - 27.05.2017, 14:30
Re: Checkpoint Jail System - by JustMe.77 - 29.06.2017, 08:02
Re: Checkpoint Jail System - by Astralis - 29.06.2017, 11:13
Re: Checkpoint Jail System - by Chaprnks - 21.09.2017, 20:41
Re: Checkpoint Jail System - by Corvantes - 21.09.2017, 22:23
Re: Checkpoint Jail System - by Mr.Vince™ - 22.09.2017, 01:45
Re: Checkpoint Jail System - by JustMe.77 - 24.09.2017, 15:31

Forum Jump:


Users browsing this thread: 6 Guest(s)