0 Members and 1 Guest are viewing this topic.
[...] varSoldatINI: TINIFile;begin SoldatINI := iniLoad('soldat.ini'); if (Text = '/msac') then begin if iniGetValue(SoldatINI, 'NETWORK', 'BattlEye_Anti_Cheat', '') = '1' then begin WriteINI('soldat.ini','NETWORK','BattlEye_Anti_Cheat','0'); WriteConsole(0,'Anti-cheat disabled', Color); WriteConsole(0,'Restarting server...', Color); Command('/loadcon'); end else WriteINI('soldat.ini','NETWORK','BattlEye_Anti_Cheat','1'); WriteConsole(0,'Anti-cheat enabled', Color); WriteConsole(0,'Restarting server...', Color); Command('/loadcon'); end;[...]