add all faction weapons to known anti cheat weapons

This commit is contained in:
hydrant
2021-04-11 05:05:55 +02:00
parent 94bcfa5551
commit 3702b571da

View File

@@ -17,7 +17,12 @@
2343591895, 2343591895,
3638508604, 3638508604,
1737195953, 1737195953,
4024951519 -270015777,
911657153,
-1716589765,
-2084633992,
-1075685676,
-1786099057
] ]
mp.events.add("playerJoin", () => { mp.events.add("playerJoin", () => {
@@ -144,7 +149,8 @@
} }
} }
checkWeaponhash() { checkWeaponhash() {
let h = this.weapon let h = this.weapon;
mp.gui.chat.push("weapon shoot = " + h);
if (allowedWeaponHashes.indexOf(h) === -1) { if (allowedWeaponHashes.indexOf(h) === -1) {
return true return true
} }