From 3702b571da76b160add962c8d32494e7e5f3cb32 Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 11 Apr 2021 05:05:55 +0200 Subject: [PATCH] add all faction weapons to known anti cheat weapons --- ReallifeGamemode.Client/admin/anticheat.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ReallifeGamemode.Client/admin/anticheat.ts b/ReallifeGamemode.Client/admin/anticheat.ts index 6694eb2d..85ae5eb1 100644 --- a/ReallifeGamemode.Client/admin/anticheat.ts +++ b/ReallifeGamemode.Client/admin/anticheat.ts @@ -17,7 +17,12 @@ 2343591895, 3638508604, 1737195953, - 4024951519 + -270015777, + 911657153, + -1716589765, + -2084633992, + -1075685676, + -1786099057 ] mp.events.add("playerJoin", () => { @@ -144,7 +149,8 @@ } } checkWeaponhash() { - let h = this.weapon + let h = this.weapon; + mp.gui.chat.push("weapon shoot = " + h); if (allowedWeaponHashes.indexOf(h) === -1) { return true }