NexiusTailer / Nex-AC

Anticheat system
https://pawn.wiki/index.php?/topic/27641-nex-ac/
GNU Lesser General Public License v3.0
212 stars 156 forks source link

maybe compatible with open.mp? #273

Closed ghost closed 2 years ago

ghost commented 2 years ago

ac_RconEnable = (GetConsoleVarAsBool("rcon.enable") != 0); ac_LagCompMode = (GetConsoleVarAsBool("game.use_lag_compensation") != 0);

#define AC_SERVER_OMP_VERSION "open.mp 0.0.8.1988"

static ac_strtmp[10]; #if defined GetConsoleVarAsString GetConsoleVarAsString("version", ac_strtmp, sizeof ac_strtmp); #else GetServerVarAsString("version", ac_strtmp, sizeof ac_strtmp); #endif if(strfind(ac_strtmp, AC_SERVER_VERSION) == -1 && strfind(ac_strtmp, AC_SERVER_DL_VERSION) == -1 && strfind(ac_strtmp, AC_SERVER_OMP_VERSION) == -1 ) print(VERSION_WARNING);

or something else. sorry for my english.

NexiusTailer commented 2 years ago

This will be done after the release, because now it's still in beta. Moreover it's already compatible, the warnings you get it's just for informative purpose.