06.07.2013, 13:25
(
Последний раз редактировалось nickyW; 06.07.2013 в 14:26.
)
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
new Float:Health;
GetPlayerHealth(playerid, Health);
if( weaponid == 38 ) { //38 - Minigun
SetPlayerHealth(playerid, Health-10);
}
return 1;
}