Jump to content

x2 warning's


Recommended Posts

salut, am si eu erorile astea 2 de vreo 2 -3 zile am incercat si eu sa le rezolv.. dar nu le dau de capat..

 

C:\Users\lxrd.rol3x1337\Desktop\gamemode's\filehost_b-hood2k19 (2)\HPQ123 samp\gamemodes\B-HOOD.pwn(1553) : warning 217: loose indentation
C:\Users\lxrd.rol3x1337\Desktop\gamemode's\filehost_b-hood2k19 (2)\HPQ123 samp\gamemodes\B-HOOD.pwn(1559) : warning 217: loose indentation

 

1553  switch(SERVER_HOSTSTATUS) {
1554        case 0: SQL = mysql_connect("", "", "", ""), print("Server: Oficial");  //SQL = mysql_connect("localhost", "root", "bhood", ""), print("Server: Oficial"); // mare
1555       case 1: SQL = mysql_connect("", "", "", ""), print("Server: Beta"); // beta
1556       case 2: SQL = mysql_connect("localhost", "root", "b-hood", ""), print("Server: localhost");

1557    }

1558

 1559   switch(mysql_errno()) {

Link to comment
Share on other sites

Trebuie indentate apasand TAB. Vezi in gamemode alte exemple. Incearca asa:

switch(SERVER_HOSTSTATUS) {
    case 0: SQL = mysql_connect("", "", "", ""), print("Server: Oficial");  //SQL = mysql_connect("localhost", "root", "bhood", ""), print("Server: Oficial"); // mare
    case 1: SQL = mysql_connect("", "", "", ""), print("Server: Beta"); // beta
    case 2: SQL = mysql_connect("localhost", "root", "b-hood", ""), print("Server: localhost");

}

Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.