mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-19 12:42:54 +00:00
gun_game 1.0.2
Fixed silencer floating on top of the player when holding a pistol that shouldn't have a silencer equipped
This commit is contained in:
parent
2eaaeac6ff
commit
809c62399f
@ -331,6 +331,13 @@ AttachmentIsBanned(weaponName, attachmentName)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
else if (GetBaseWeaponName(weaponName) == "iw5_mp412_mp" || GetBaseWeaponName(weaponName) == "iw5_44magnum_mp" || GetBaseWeaponName(weaponName) == "iw5_deserteagle_mp")
|
||||
{
|
||||
if (attachmentName == "silencer02") // works but makes a silencer float on top of the player's on his screen
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user