Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Warning


Guest chrisss

Question

Guest chrisss
Posted

Plz zicetimi akum ce nu am mai facut bine

C:\Users\Chtis\Desktop\New folder\gamemodes\zzz.pwn(5776) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          7244 bytes

Code size:          1420252 bytes

Data size:          4613956 bytes

Stack/heap size:      16384 bytes; estimated max. usage=5110 cells (20440 bytes)

Total requirements: 6057836 bytes

1 Warning.

7 answers to this question

Recommended Posts

Guest PlayON
Posted

Doamne! Pentru atata!? E doar un Warning.

Loose Identation inseamna ca nu i identat bine, ai pus stramb vreo linie.

etc.

CreateObject(...);
   CreateObject(...);//Asta inseamna Loose Identation.
   CreateObject(...);
   CreateObject(...);//Si asa ar trebui sa fie perfect.

Guest chrisss
Posted

dar tot nu reusesc mie aici imi da warning

    else

        {

        GetPlayerName(i, plname, sizeof(plname));

        format(string, 256, "Atentie !Este posibil ca [%d]%s sa spawneze 5000$ , folositi /check.",i,plname);

ABroadCast(COLOR_GREEN,string,1);

PayLog(string);

        CurrentMoney = GetPlayerMoney(i);

       

        }

Nu imi poti face u direct sa il inlocuiesc plz

Posted

Si ca sa nu stai sa pui fiecare linie corecta pune pe la inceptul gamemod-ului #pragma tabsize 0

__________________________________________________________________________________________________________________________________

else

        {

              GetPlayerName(i, plname, sizeof(plname));

              format(string, 256, "Atentie !Este posibil ca [%d]%s sa spawneze 5000$ , folositi /check.",i,plname);

              ABroadCast(COLOR_GREEN,string,1);

              PayLog(string);

              CurrentMoney = GetPlayerMoney(i);

               

         }

Guest PlayON
Posted

Si ca sa nu stai sa pui fiecare linie corecta pune pe la inceptul gamemod-ului #pragma tabsize 0

Da, prostie! Ori faci ceva frumos ori de prostesti cu pragma tabsize 0...

else
              {

                 GetPlayerName(i, plname, sizeof(plname));
                 format(string, 256, "Atentie !Este posibil ca [%d]%s sa spawneze 5000$ , folositi /check.",i,plname);
                 ABroadCast(COLOR_GREEN,string,1);
                 PayLog(string);
                 CurrentMoney = GetPlayerMoney(i);
                
              }

ALINEAT AM ZIS! in linie! DREPT.

Guest chrisss
Posted

oke ms amice am mai lasat un post ca am probleme cu serveru te uiti peste el plz?

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.