OnPlayerTakeDamage don't work with sniper
#5

Try this.
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(GetPlayerWeapon(playerid) == 34)
    {
        SetPlayerHealth(playerid,0.0);
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)