[Help]Exact Weapon Damages - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help]Exact Weapon Damages (
/showthread.php?tid=484545)
[Help]Exact Weapon Damages -
denom - 31.12.2013
Could anyone tell me the exact weapon damages of some weapons you know or a server that tells the damage of a weapon or a site telling all of them. Thanks
Sorry for my bad english and too much questions
Re: [Help]Exact Weapon Damages -
SilentSoul - 31.12.2013
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
new Float:HP;
GetPlayerHealth(playerid, HP);
if(weaponid == 24) SetPlayerHealth(playerid, HP-50);//DesertEagle
if(weaponid == 22) SetPlayerHealth(playerid, HP-50);//Colt45
if(weaponid == 32) SetPlayerHealth(playerid, HP-10);//Tec9
if(weaponid == 28) SetPlayerHealth(playerid, HP-10);//Uzi
if(weaponid == 23) SetPlayerHealth(playerid, HP-50);//SilencedColt
if(weaponid == 31) SetPlayerHealth(playerid, HP-35);//M4
if(weaponid == 30) SetPlayerHealth(playerid, HP-40);//AK
if(weaponid == 29) SetPlayerHealth(playerid, HP-18);//MP5
if(weaponid == 34) SetPlayerHealth(playerid, HP-300);//SniperRifle
if(weaponid == 33) SetPlayerHealth(playerid, HP-35);//CuntGun
if(weaponid == 25) SetPlayerHealth(playerid, HP-100);//PumpShotgun
if(weaponid == 27) SetPlayerHealth(playerid, HP-70);//Spaz12
return 1;
}
Source :
https://sampforum.blast.hk/showthread.php?tid=330005
Re: [Help]Exact Weapon Damages -
denom - 31.12.2013
^^ above : I mean the exact damage since i dont have to make it realistic too much
Re: [Help]Exact Weapon Damages -
newbie scripter - 31.12.2013
Quote:
Originally Posted by zDevon
|
^^^^^^