WiBox Posted June 11, 2018 Share Posted June 11, 2018 Is it possible that we enhance the weapon damage? What I mean change the weapon damage? If there is a way I appreciate who give an example or a clue. Link to comment
Fierelier Posted June 11, 2018 Share Posted June 11, 2018 (edited) Yes, definitely! There is different ways of doing that. You can raise weapon damage by using setWeaponProperty or lower the player's health by using setPedStat. If you need more control (applying more damage for headshots, etc), you could also use onClientPlayerDamage and apply extra damage by using setElementHealth. If you are going with the onClientPlayerDamage route, always check if the source is the local player. Damage in MTA is applied if the client is hit on their screen (by default). Edited June 11, 2018 by Fierelier 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