25.04.2010, 05:32
Police Officer/Admin Jail System! V1.0
This [FS] was created by: [T_S]DeStunter A.K.A Blabla93
Rules To follow using my filterscript!
1) Do not take credit for my work!
2) Do not take edit this filter script and re-release it
3) Do not re-release this
4) Give me credit for my filter script
if you can not follow these 4 simple rules then do no read any further and leave!
About this FS:
the jail system has several commands being /ar [id] (/arrest) - /tk [id] (ticket) for police officers and /jail [id][time in minutes][reason]
you can edit the line that check to make sure your a police officer in the filter scripts source code to fit your current game mode if you have a officer job/faction.
these are all the police officer skin ids, if you are not a police officer it will return this error
to use the administrator jail command you must be logged into rcon admin to use this or else it will return 0 !
you can change this by changing the simple
to your own.
for /ar (/arrest) and /tk (/ticket) you must be near the player or else it will not be able to arrest or ticket the suspect!
when you arrest a suspect for every wanted level he has will be how long he will stay in jail and his wanted level will be multiplied by 1000 so every wanted level = 1k, so if you arrest a wanted player that has a level 6 wanted level the officer will make 6k and the criminal will be fined 6k.
tickets are worth 1k
Please post any bugs/grammar issues in the script so i can fix them immediately as we can not have a flaw in this system
Credits:
[T_S]DeStunter A.K.A Blabla93 - coding the whole FS
Zeex for creating zcmd
On_Top2k8 - finding and correcting a bug!
Downloads:
Contents include zcmd and jail system filterscript
.Rar Download
Click Here
.Zip Download
Click Here
Mirrors:
None - Old one was bugged version!
Mirrors are welcome!
EDIT 1:
forgot to add once your time in jail is up you will re spawn to your game modes spawn!
EDIT 2:
i noticed i forgot to add that you can gain a wanted level by killing other players =p
i typed this up last night at the middle of the night lol.
EDIT 3:
Major bug that was found have not had time to fix it. I fixed it and have updated download links! RE DOWNLOAD!!!
This [FS] was created by: [T_S]DeStunter A.K.A Blabla93
Rules To follow using my filterscript!
1) Do not take credit for my work!
2) Do not take edit this filter script and re-release it
3) Do not re-release this
4) Give me credit for my filter script
if you can not follow these 4 simple rules then do no read any further and leave!
About this FS:
the jail system has several commands being /ar [id] (/arrest) - /tk [id] (ticket) for police officers and /jail [id][time in minutes][reason]
you can edit the line that check to make sure your a police officer in the filter scripts source code to fit your current game mode if you have a officer job/faction.
Code:
new pskin = GetPlayerSkin(playerid); if(pskin == 265 || pskin == 266 || pskin == 267 || pskin == 280 || pskin == 281 || pskin == 284 || pskin == 285 || pskin == 286 || pskin == 287 || pskin == 288)
Code:
return SendClientMessage(playerid, 0xFF0000AA, "Error: You are not a police officer!");
you can change this by changing the simple
Code:
if (IsPlayerAdmin(playerid))
for /ar (/arrest) and /tk (/ticket) you must be near the player or else it will not be able to arrest or ticket the suspect!
when you arrest a suspect for every wanted level he has will be how long he will stay in jail and his wanted level will be multiplied by 1000 so every wanted level = 1k, so if you arrest a wanted player that has a level 6 wanted level the officer will make 6k and the criminal will be fined 6k.
tickets are worth 1k
Please post any bugs/grammar issues in the script so i can fix them immediately as we can not have a flaw in this system
Credits:
[T_S]DeStunter A.K.A Blabla93 - coding the whole FS
Zeex for creating zcmd
On_Top2k8 - finding and correcting a bug!
Downloads:
Contents include zcmd and jail system filterscript
.Rar Download
Click Here
.Zip Download
Click Here
Mirrors:
None - Old one was bugged version!
Mirrors are welcome!
EDIT 1:
forgot to add once your time in jail is up you will re spawn to your game modes spawn!
EDIT 2:
i noticed i forgot to add that you can gain a wanted level by killing other players =p
i typed this up last night at the middle of the night lol.
EDIT 3:
Major bug that was found have not had time to fix it. I fixed it and have updated download links! RE DOWNLOAD!!!