Description: Simple plugin to report bugs to online admin with forward! Made this for my upcoming plugin called: Discord_Utilities. If you're interested in BETA testing for that plugin, join my discord server. Link in signature.
Forward: BugReport_OnReportPost();
PHP Code:
/**
* Called after a client (or module) has reported a bug for a map.
* Be sure to check that client != 0 if you expect a valid client index.
*
* @param client Client index of the caller.
* @param map DisplayName of map when client reported the bug.
* @param reason Reason selected by the client for the report.
* @param array Array with reasons that have already been reported in the current map.
* @noreturn
*/
forward void BugReport_OnReportPost(int client, const char[] map, const char[] reason, ArrayList array);
Credits:
1) Impact for calladmin. Taken code from that.
Translations are welcome. Send pull request in github!
Github