With this small include you can finely tune weapon damage based on distance. Using min/max range values, a weapon's damage varies depending on the distance between the shooter and the target.

These values are NOT the standard GTA:SA weapon damage values, this is a custom set of data I actively update based on feedback from players on the Scavenge and Survive server in an attempt to build the most balanced set of weapon damage values.

Feel free to make your own damage sets and use this code however you want, just keep my name on it!