Detect SeaSparrow damage amount.
#2

i think you have to make it on OnPlayerTakeDamage

IM NOT SURE IF WORK

Quote:

public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(issuerid != INVALID_PLAYER_ID && weaponid == 31 && IsPlayerInVehicle(issuerid, 447))
{
new Float:hp;
GetPlayerHealth(playerid, hp);
SetPlayerHealth(playerid, hp + amount);
}
return 1;
}
Reply


Messages In This Thread
Detect SeaSparrow damage amount. - by Adi007 - 04.07.2015, 18:40
Re: Detect SeaSparrow damage amount. - by kyriakos587 - 04.07.2015, 23:59
Re: Detect SeaSparrow damage amount. - by Abagail - 05.07.2015, 00:36
Re: Detect SeaSparrow damage amount. - by Adi007 - 06.07.2015, 10:31

Forum Jump:


Users browsing this thread: 2 Guest(s)