fix unallowed wepaon

This commit is contained in:
hydrant
2021-04-11 14:36:23 +02:00
parent fedf8138c4
commit bfcb07ebd8

View File

@@ -151,9 +151,9 @@
checkWeaponhash() {
let h = this.weapon;
if (allowedWeaponHashes.indexOf(h) === -1) {
mp.gui.chat.push("unallowed weapon: " + h);
return true
}
mp.gui.chat.push("unallowed weapon: " + h);
return false
}
resetWeapon() {