[FilterScript] dynamicReport v1.12 - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] dynamicReport v1.12 (
/showthread.php?tid=338405)
dynamicReport v1.12 -
Padarom - 29.04.2012
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
Re : dynamicReport v1.12 -
Jack-166 - 30.04.2012
Nice !
Re: dynamicReport v1.12 -
vannesenn - 30.04.2012
Very Nice !
Re: dynamicReport v1.12 -
Face9000 - 30.04.2012
Awesome. +rep for you.
AW: dynamicReport v1.12 -
Padarom - 30.04.2012
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.