Auto jetpack ban?
#1

Ye it's my previous similar thread,i need an instant ban for who have a jetpack.

Thanks
Reply
#2

Look at the wiki example:
https://sampwiki.blast.hk/wiki/GetPlayerSpecialAction

You can just copy the lines and add them to your OnPlayerUpdate
Reply
#3

Use Junkbuster?
Reply
#4

do you mean something like this?
pawn Код:
#include <a_samp>
forward JetPack();

public OnFilterScriptInit()
{
    SetTimer("JetPack",1000,1);
    return 1;
}

public JetPack()
{
    for(new i;i<MAX_PLAYERS;i++)
    {
        if(IsPlayerConnected(i))
        {
            if(!IsPlayerAdmin(i))
            {
                if(GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
                {
                    Ban(i);
                }
            }
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)