02.12.2016, 17:51
Hello, is there somewhere a list with all of the weapons and their default damage values in samp?
Colt 45: 10-15/shot, 17 rounds per clip. Silenced Colt: 10-15/shot, 17 rounds per clip. Desert Eagle: 46/shot, 7 rounds per clip. Tec-9/ Uzi: 10/shot, 50 rounds per clip. MP5: 25/shot, 30 rounds per clip. Shotgun: 5/pellet (range varies), pump action. Sawn-Off Shotgun: 10/pellet (range varies), 2 shells per reload. Combat Shotgun: 15/pellet (range varies), 7 rounds per clip. M4: 19/shot, 50 rounds per clip. AK-47: 10/shot, 30 rounds per clip. Rifle: 25/shot, bolt action. Sniper Rifle: 41/shot, bolt action.
WEAPON_COLT45: 25 * 0.33 //8.25 WEAPON_SILENCED: 40 * 0.33 //13.200012 WEAPON_DEAGLE: 140 * 0.33 //46.200013 WEAPON_SHOTGUN: 10 * 0.33 //30.0 (probably because of pellets) WEAPON_SAWEDOFF: 10 * 0.33 //30.0 (probably because of pellets) WEAPON_SHOTGSPA: 15 * 0.33 //30.0 (probably because of pellets) WEAPON_UZI: 20 * 0.33 //6.599976 WEAPON_TEC9: 20 * 0.33//6.599976 WEAPON_MP5: 25 * 0.33 //8.25 WEAPON_AK47: 30 * 0.33 //9.900024 WEAPON_M4: 30 * 0.33 //9.900024 WEAPON_RIFLE: 75 * 0.33 //24.799987 WEAPON_SNIPER: 125 * 0.33 //41.299987 WEAPON_MINIGUN: 140 * 0.33 //46.200013
I've found the following values for the bullet weapons. Data taken from weapon.dat.
For some reason each value has to be multiplied by 0.33 though. Looking at the values found in the FCNPC plugin, it's pretty accurate. The FCNPC ones are behind the //. Code:
WEAPON_COLT45: 25 * 0.33 //8.25 WEAPON_SILENCED: 40 * 0.33 //13.200012 WEAPON_DEAGLE: 140 * 0.33 //46.200013 WEAPON_SHOTGUN: 10 * 0.33 //30.0 (probably because of pellets) WEAPON_SAWEDOFF: 10 * 0.33 //30.0 (probably because of pellets) WEAPON_SHOTGSPA: 15 * 0.33 //30.0 (probably because of pellets) WEAPON_UZI: 20 * 0.33 //6.599976 WEAPON_TEC9: 20 * 0.33//6.599976 WEAPON_MP5: 25 * 0.33 //8.25 WEAPON_AK47: 30 * 0.33 //9.900024 WEAPON_M4: 30 * 0.33 //9.900024 WEAPON_RIFLE: 75 * 0.33 //24.799987 WEAPON_SNIPER: 125 * 0.33 //41.299987 WEAPON_MINIGUN: 140 * 0.33 //46.200013 |
what you say multiply by 33 why though,wont that take more than it's suppose too?
|