Jump to content
  • 0

Creare anti ban admin pentru jetpack


Alexandr69

Question

Problema intalnita (descriere): Vreau sa fac un anti ban la admini in comanda pentru jetpack
Ero(area / rile) / warning-(ul / urile): Nici una
Liniile de cod / sursa / script-ul(obligatoriu):

if(GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK)
                            {
                                jBan(i, -1, "Jetpack Hack", 0);
                            }

 

 

CMD:jetpack(playerid, params[])
{

    if (pInfo[playerid][pAdminLevel] < 1)
        return SendClientMessage(playerid,-1,"You can't use this command.");

    if (sscanf(params, "u", playerid))
     {
         SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);
    }
    return 1;
}

 


Imagini / Video (optional): = 
Ati incercat sa rezolvati singur?: da

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.