Jump to content
  • 0

Problemă comenzi.


Softical

Question

5 answers to this question

Recommended Posts

  • 0

Am sters OnRconLoginAttempt, acum merge sa ma loghez cu RCON, dar tot imi spune ca nu sunt autorizat sa folosesc comanda. Am si admin 7 in baza de date. 

 

CMD:banip(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first.");
    if(PinLogged[playerid] == 0) return SCM(playerid, COLOR_YELLOW,"Introduce pin-ul! (/pin) | (/setpin) daca nu ai unul.");
    if(IsPlayerConnected(playerid))
     {
        if(PlayerInfo[playerid][pAdmin] == 1)

 

CMD:setimunitate(playerid, params[])
{
    if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Nu esti logat!");
    if(PinLogged[playerid] == 0) return SCM(playerid, COLOR_YELLOW,"Introduce pin-ul! (/pin) | (/setpin) daca nu ai unul.");
    if(IsPlayerConnected(playerid))
     {
        if(PlayerInfo[playerid][pAdmin] == 5)
        {

Link to comment
Share on other sites

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.