16.11.2014, 00:37
(
Последний раз редактировалось paul988; 16.11.2014 в 02:46.
)
ReportSystem v1.0.0
by paul988
Features:by paul988
Код:
* Players can use /report to report another online player * /report has a 3 minutes cooldown so players won't be able to spam it * Adminstrators (RCON Admin) can lookup reports with /reports * Adminstrators (RCON Admin) can delete reports * Adminstrators (RCON Admin) can reload all reports * Adminstrators (RCON Admin) can check a specified reported player with /checkreports
Код:
Player Commands: * /report [PlayerID/PartOfName] [Reason] Admin Commands (RCON): * /reports * /checkreports [1/2/3] [ReportID/Reporter/Reported] * /deletereport [ReportID] * /reloadreports
Change these settings to your liking before compiling the filterscript
pawn Код:
#define MAX_PLAYERS (50) // == MAX_PLAYERS (change to the amount of player slots you have on your server)
#define SQL_HOST "" // == MySQL Host
#define SQL_USER "" // == MySQL Username
#define SQL_DB "" // == MYSQL Database
#define SQL_PASS "" // == MYSQL Password
#define SQL_PORT (3306) // == MySQL Port
#define SQL_AUTOCONNECT true // == MySQL AutoConnect
#define SQL_POOL-SIZE (4) // == MySQL Pool_Size
- a_mysql (r39-2) - https://sampforum.blast.hk/showthread.php?tid=56564
- sscanf (2.8.1) - https://sampforum.blast.hk/showthread.php?tid=120356
- zcmd (0.3.1) - https://sampforum.blast.hk/showthread.php?tid=91354
- 1.0.0
- Solidfiles: http://www.solidfiles.com/d/38009a1e43/ReportSystem.pwn
- Mediafire: http://www.mediafire.com/view/qjjyf9...portSystem.pwn
- Pastebin: http://pastebin.com/nCvEugQL