06.07.2013, 13:21
how can i make the miniguns dmg to be like the ak47's dmg?
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
new Float:Health;
GetPlayerHealth(playerid, Health);
if( weaponid == 38 ) { //38 - Minigun
SetPlayerHealth(playerid, Health-10);
}
return 1;
}