public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid){ new Float:Health; GetPlayerHealth(playerid, Health); if( weaponid == 38 ) { //38 - Minigun SetPlayerHealth(playerid, Health-10); } return 1;}