View Single Post
Michauux
Member
Join Date: Nov 2015
Old 03-11-2018 , 18:01   Re: [RELEASE] SourceBans++ (v1.6.2) [Updated: 2017-07-04]
#1219

Quote:
Originally Posted by RumbleFrog View Post
^^ https://github.com/sbpp/sourcebans-pp/issues/404


Per issue #407 and PR #408 for the 1.6.3 pre-release

It introduced:

PHP Code:
/*********************************************************
 * Reports a player
 *
 * @param iReporter    The client index of the reporter
 * @param iTarget    The client index of the player to report
 * @param sReason    The reason to report the player
 * @noreturn
 *********************************************************/
native void SourceBans_ReportPlayer(int iReporterint iTarget, const char[] sReason);

/*********************************************************
 * Called when a new report is inserted
 *
 * @param iReporter    The client index of the reporter
 * @param iTarget    The client index of the player to report
 * @param sReason    The reason to report the player
 * @noreturn
 *********************************************************/
forward void SourceBans_OnReportPlayer(int iReporterint iTarget, const char[] sReason); 
With this new native implementation, sbpp_report.sp is also introduced to take advantage of this new native, allowing players to report in-game, and inserting into the submissions table.
Where can I find the reported players on the site?
Michauux is offline