[FilterScript] dynamicReport v1.12
#1

Hello,
today I introduce you my first ever released filterscript. It's a report system with which you can report players through diverse reasons.
This report will be saved as a file (or in a MySQL-table) and if wished sent to an admin.

Original (german) Thread

The script is quasi dynamic, which means that you can easily change settings in the script without having any knowledge of PAWN.
Therefore the name of the script is dynamic Report.

Further there are 3 file saving methods acceptable.
  • MySQL (Plugin by Strickenkid, included in the download)
  • Dini (Include by DracoBlue, included in the download)
  • fwrite-functions (doesn't require includes, SA:MP native functions)
How to use the report system?
  • /report - Then follow the dialogs.
  • TAB-Menu, click on a player - Then follow the dialogs (can be deactivated if undesired).
  • /showtickets, /tickets, /checkreports - As RCON-Admin (or set as PVar in the gamemode) to see all created tickets.
What to do before using the script?
  • First you have to decide which way you want to save the reports. Therefore just follow the instructions given in the script and exclude not wanted features.
  • If dini/fwrite should be used to save the reports you have to state the path in the scriptfiles-folder and create this folder manually.
  • If MySQL is used you have to put in your mysql-connection data. Therefore also follow the instructions.
Код:
CREATE  TABLE  `reports` (
  `id` INT NOT  NULL  AUTO_INCREMENT ,
  `reporter` VARCHAR( 24  )  NOT  NULL ,
  `reported` VARCHAR( 24  )  NOT  NULL ,
  `reason` VARCHAR( 24  )  NOT  NULL ,
  `description` VARCHAR( 68  )  NOT  NULL ,
  `read` INT( 2  ) ,  
  `time` VARCHAR( 24  )  NOT  NULL ,
  PRIMARY  KEY (  `id`  ) 
  )
USED DIALOG-IDs: 100 up to including 107

Download
Pastebin (English version, tried my best to translate everything correct).
Mediafire
Virustotal Scan

Screenshots
Admin:
I hope my english isn't too bad and you are able to understand it

Regards
Padarom
Reply
#2

Nice !
Reply
#3

Very Nice !
Reply
#4

Awesome. +rep for you.
Reply
#5

Thank you all! Hope my English isn't too bad, but if so I believe you can change it by yourself.
English download is now included and I will upload English pics as well in a few minutes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)