Weapon cheats
#2

OT:You can /ban him or /ajail him.

IT: You could forbid the Minigun in you server, when the script detects the player has Minigun it will Kick or Ban [depending on what you want] him.

From SA-MP Wiki:
Code:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(killerid != INVALID_PLAYER_ID)
    {
        if(GetPlayerWeapon(killerid) == 38) Ban(killerid); //Ban if they have a minigun
    }
    return 1;
}
Add this on your script.
Reply


Messages In This Thread
Weapon cheats - by extender1987 - 04.10.2017, 17:56
Re: I need some help!! - by Escobabe - 04.10.2017, 18:08
Re: I need some help!! - by extender1987 - 04.10.2017, 18:25
Re: I need some help!! - by dugi - 04.10.2017, 19:56
Re: Weapon cheats - by Kane - 04.10.2017, 20:08
Re: Weapon cheats - by HydraHumza - 04.10.2017, 20:53
Re: Weapon cheats - by Kane - 04.10.2017, 20:54

Forum Jump:


Users browsing this thread: 1 Guest(s)