StAC-tf2
StAC-tf2 copied to clipboard
Fix detection for SMAC core and module plugins
Fix for #198
All the official SMAC stuff starts with "SMAC " (with trailing space) except for the core plugin which is "SourceMod Anti-Cheat" Not sure if there's and "[SMAC]" variants out there or not ¯\_(ツ)_/¯
yo hold up this fix doesn't work 😎
romcom scribes have nothing on this
what about checking for the smac
library for a more reliable result
https://github.com/Silenci0/SMAC/blob/aa4cf68ab8b5f46ac59e7d94de9a936ef7704e4a/addons/sourcemod/scripting/smac.sp#L174
or the smac_wallhack
library
https://github.com/Silenci0/SMAC/blob/aa4cf68ab8b5f46ac59e7d94de9a936ef7704e4a/addons/sourcemod/scripting/smac_wallhack.sp#L91
i'll leave it for sapphonie to decide what approach is better since i dont particularly care either way
GetFeatureStatus(FeatureType_Capability, "SMAC_Ban");
?
#201