fix unallowed wepaon
This commit is contained in:
@@ -151,9 +151,9 @@
|
|||||||
checkWeaponhash() {
|
checkWeaponhash() {
|
||||||
let h = this.weapon;
|
let h = this.weapon;
|
||||||
if (allowedWeaponHashes.indexOf(h) === -1) {
|
if (allowedWeaponHashes.indexOf(h) === -1) {
|
||||||
|
mp.gui.chat.push("unallowed weapon: " + h);
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
mp.gui.chat.push("unallowed weapon: " + h);
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
resetWeapon() {
|
resetWeapon() {
|
||||||
|
|||||||
Reference in New Issue
Block a user