Gordon_G Posted September 12, 2018 Share Posted September 12, 2018 I have a problem with this thing. Well, when I try to change this property for weapons it's always different. Let's take an example : If I do setWeaponProperty("Deagle", "damage", "poor", 90) It will deal 30 damage to the player. But, if I do setWeaponProperty("Shotgun", "damage", "poor", 10) It will deal 50 damage to the player. I think it has something to do with default weapon's damage but, should I use "onClientPlayerDamage" instead, cancel the event and then apply the damage ? That's pretty fastidious. Link to comment
iMr.WiFi..! Posted September 12, 2018 Share Posted September 12, 2018 1 hour ago, Gordon_G said: I have a problem with this thing. Well, when I try to change this property for weapons it's always different. Let's take an example : If I do setWeaponProperty("Deagle", "damage", "poor", 90) It will deal 30 damage to the player. But, if I do setWeaponProperty("Shotgun", "damage", "poor", 10) It will deal 50 damage to the player. I think it has something to do with default weapon's damage but, should I use "onClientPlayerDamage" instead, cancel the event and then apply the damage ? That's pretty fastidious. You can use it instead, but don't forgot to apply the distance between attacker and player ( Lack the damage whenever the distance become more far. ) 1 Link to comment
Gordon_G Posted September 12, 2018 Author Share Posted September 12, 2018 Huh... That's boring that we can't use setWeaponProperty. Anyway, thanks. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now