Jump to content

XRoyal

Membru
  • Posts

    5
  • Joined

  • Last visited

Posts posted by XRoyal

  1. Acum 2 ore, Raduq a spus:

    public OnRconLoginAttempt(ip[], password[], success)
    {
          if(!success)
          {
              new pip[16];
              for(new i = 0; i < MAX_PLAYERS; i++)
              {
                    if(IsPlayerConnected(i))
                    {
                        GetPlayerIp(i, pip, sizeof(pip));
                        if(!strcmp(ip, pip, true))
                        {
                            if(PlayerInfo[i][pAdmin] < 7)
                            {
                                Kick(i);
                        }
                    }
                }
            }
          }
          return 1;
    }

    incearca asa

    Mersi mult, a mers.

  2. Acum 1 minut, Raduq a spus:

    arata tot de la onrconloginattempt te rog

    Am incercat mai multe securitati si nici una nu mia mers

     

    public OnRconLoginAttempt(ip[], password[], success)
    {
        new doarodata = 0;
          if(!success)
          {
              new pip[16];
              for(new i = 0; i < MAX_PLAYERS; i++)
              {
                if(doarodata == 0)
                {
                    if(IsPlayerConnected(i))
                    {
                        GetPlayerIp(i, pip, sizeof(pip));
                        if(!strcmp(ip, pip, true))
                        {
                            if(PlayerInfo[i][pAdmin] < 7)
                            {
                                Kick(i);
                                doarodata = 1;
                            }
                        }
                    }
                }
            }
          }
          return 1;
    }

×
×
  • 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.