Help for Anti-Dgun
#2

here it is
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        if(GetPlayerWeapon(killerid) == 0) return Kick(killerid);  // 0 is the id of fist you can get other ids here https://sampwiki.blast.hk/wiki/Weapons
    }
    return 1;
}
hope i helped you
Reply


Messages In This Thread
Help for Anti-Dgun - by Istrator - 22.07.2018, 15:05
Re: Help for Anti-Dgun - by GameOvr - 22.07.2018, 16:27

Forum Jump:


Users browsing this thread: 1 Guest(s)