28.03.2016, 12:07
Samp Version - 0.3e,I have DM Server in 0.3e
There is no OnPlayerTakeDamage
But is
When shoot in player,sometimes HP does not change... (Players Online 10-30)
Sorry for my Bad English..
There is no OnPlayerTakeDamage
But is
Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid) { if(PlayerInfo[playerid][Class] == 13) { if(playerType[playerid] != playerType[damagedid]) { if(weaponid == 6) SetPlayerHealth(damagedid, 0); } } return 1; }
Sorry for my Bad English..