Jump to content
  • 0

Creare anti ban admin pentru jetpack


Question

Posted

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

2 answers to this question

Recommended Posts

  • 0
Posted

Cred si eu ca ai incercat sa rezolvi singur.

 if(GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK && PlayerInfo[i][pAdmin]) 

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.