Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] [MySQL] Report system [View all reports ; Delete reports & more]

$
0
0
Report system
Version: v0.1
Last updated: N/A

Description

A normal report system but with many features

Features
  • RCON logged in admins are able to view all the reports (/reports)
  • All reports are saved in a MySQL Table
  • Uses MySQL R39-6 by BlueG
  • RCON logged in admins are able to delete reports (/delrep [report id])
  • Readablilty
  • Good performance
  • RCON logged in admins are able to delete all reports at once (/delallrep)

Credits

AjaxM - The script
SA-MP Team - SA-MP
BlueG - MySQL
Yashas / Zeex - I-ZCMD
sscanf - Y_Less & Emmet_

Bugs

Tested ; No bugs found.

Please report bugs ASAP if founded.

Table Creation

You should manually create the table with the following code:

PHP Code:

CREATE TABLE `YOUR_PORT_HERE`.`Reports`(
    `
ReportIDINT(15NOT NULL AUTO_INCREMENT ,
    `
ReporterVARCHAR(25NOT NULL ,
    `
ReportedVARCHAR(25NOT NULL ,
    `
ReportedOnVARCHAR(25NOT NULL ,
    `
ReportReasonVARCHAR(25NOT NULL ,
    
PRIMARY KEY  (`ReportID`))
    
ENGINE InnoDB

Note: You should change the 'YOUR_PORT_HERE' to your database port.

The report IDs may go up to 1000 ; If you want to reset it back to 0, delete the MySQL Table and re-create it.

Download

GITHUB

Thanks & enjoy.

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>