Cow-Anti-Cheat
Cow-Anti-Cheat copied to clipboard
Add Support for SourceBans++ 1.6.3 and higher
Fixes #8
Context
SourceBans++ 1.6.3 introduced new native prefixes and a new library name (while still retaining its backward compatibility with SourceBans++ 1.6.2 and lower / SourceBans 1.4.11).
This PR fixes the native problems with SourceBans++ 1.6.3
Proposed Changes
-
Include the new sourcebanspp.inc (Fully backwards compatible with SourceBans++ 1.6.2 and lower / SourceBans 1.4.11)
-
Use the original
SBBanPlayerinstead of the short-livedSourceBans_BanPlayer(this also enables support for SourceBans 1.4.11) -
Integrate new
SBPP_BanPlayercall for SourceBans++ 1.6.3 -
Remove
AskPluginLoad2function (not needed [anymore])