OnPlayerTakeDamage don't work with sniper
#2

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)