Jump to content

Question

Posted

Salut! Am o problemă la unele comenzi. De ex /banip si /setimunitate nu-mi merg ... Am admin 7 din baza de date tot ce trebuie dar imi spune ca nu sunt autorizat sa folosesc comenzile! Ce pot face? Multumesc.

5 answers to this question

Recommended Posts

  • 0
Posted

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)
        {

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.