02.03.2013, 16:54
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid)
{
if(weaponid == 24){amount = 30;}//eagle
if(weaponid == 25){amount = 35;}//shot
if(weaponid == 29){amount = 5;}//mp5
if(weaponid == 30){amount = 7;}//ak
if(weaponid == 31){amount = 10;}//m4
if(weaponid == 34){amount = 100;}//sniper
}
agora coloca com o dano que vc quiser, adicona mais armas ou remove ...
{
if(weaponid == 24){amount = 30;}//eagle
if(weaponid == 25){amount = 35;}//shot
if(weaponid == 29){amount = 5;}//mp5
if(weaponid == 30){amount = 7;}//ak
if(weaponid == 31){amount = 10;}//m4
if(weaponid == 34){amount = 100;}//sniper
}
agora coloca com o dano que vc quiser, adicona mais armas ou remove ...