OnPlayerGiveDamage Grenades problem
#2

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if((gTeam[issuerid] == gTeam[playerid]) && weaponid == 16 )
    {
        SetPlayerHealth(playerid, GetPlayerHealth(playerid)-amount);
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerGiveDamage Grenades problem - by RedFusion - 11.08.2012, 14:11
Re: OnPlayerGiveDamage Grenades problem - by [MM]RoXoR[FS] - 11.08.2012, 15:16
Re: OnPlayerGiveDamage Grenades problem - by RedFusion - 11.08.2012, 15:26
Re: OnPlayerGiveDamage Grenades problem - by RedFusion - 11.08.2012, 17:58
Re: OnPlayerGiveDamage Grenades problem - by RedFusion - 12.08.2012, 11:21
Re: OnPlayerGiveDamage Grenades problem - by playbox12 - 12.08.2012, 12:04
Re: OnPlayerGiveDamage Grenades problem - by RedFusion - 12.08.2012, 14:00
Re: OnPlayerGiveDamage Grenades problem - by RedFusion - 12.08.2012, 17:42
Re: OnPlayerGiveDamage Grenades problem - by playbox12 - 12.08.2012, 21:02
Re: OnPlayerGiveDamage Grenades problem - by new121 - 12.08.2012, 21:26

Forum Jump:


Users browsing this thread: 1 Guest(s)