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

[FilterScript] [MySQL R41-4] Dynamic Report System

$
0
0
Introduction
This is an advanced dynamic report using the latest MySQL plugin [R41-4] which is controllable in-game, you are able to view reports, clear 15 latest reports from the database, accept reports, deny reports.

How to use it
Download or compile the script, paste it into your filterscripts folder, load it in server.cfg and start your server, simple right?

Commands
There are 5 commands, one of them is a player command and 4 others for administrators.
  • /report - Player Command (/report [id] [reason] - used to report someone)
  • /reports - Admin Command (used to view 15 latest reports available)
  • /clearreports - Admin Command (use this to clear 15 latest reports if the dialog displays 15/15)
  • /ar - Admin Command (used to accept a report from the ID, it will accept the report even if the player who reported is not online).
  • /dr - Admin Command (used to deny a report from the ID, it will deny the report even if the player who reported is not online).

Screenshots
Here's a list of screenshots I made:
https://imgur.com/a/NCDz3Dz

Credits
  • SA-MP Team - a_samp
  • BlueG / maddinat0r - a_mysql
  • Y_Less - sscanf2
  • Zeex - zcmd
  • Emmet - easyDialog
  • Kar - foreach

Download
GitHub
Pastebin


Bugs
There were no bugs while testing this, but if you find any instead of being mean report it and I'll fix it.

Viewing all articles
Browse latest Browse all 595

Trending Articles



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