Jump to content
  • 0

problema server


Raul112233

Question

Salut,am si eu o problema,am un gm si vreau sa bag boti,dar dupa ce bag 5,al 6-lea ia kick automat,ce as putea modifica? Eu am modificat urmatoarele,dar degeaba

 

PlayerTextDrawHide(playerid, caseTD[0]);
    PlayerTextDrawHide(playerid, caseTD[1]);
    PlayerTextDrawHide(playerid, caseTD[2]);
    PlayerTextDrawHide(playerid, caseTD[3]);
    PlayerTextDrawHide(playerid, caseTD[4]);
    PlayerTextDrawHide(playerid, caseTD[5]);
    PlayerTextDrawHide(playerid, caseTD[6]);
    PlayerTextDrawHide(playerid, caseTD[7]);
    new playerip[16];
     GetPlayerIp(playerid,playerip,sizeof(playerip));
    if(NumIp(playerip, playerid) >= 5 && !IsBotOnIP(playerip))
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "There are already 2 players connected with same IP.");
        KickEx(playerid);
         return 1;
    }

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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