Jump to content
  • 0

Loose idention


MaFioTTul

Question

Salut, cand compilez Gamemode-ul primesc erorile loose indentation, m-am uitat foarte bine pe ele dar nu stiu ce este gresit. 

 

Poze : http://imgur.com/hGdTEsu

           http://imgur.com/u2G0zae

           http://imgur.com/UzSUt51

 

Cod:  

 public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])

{
    for(new i; i < sizeof(antisqlinjection); i++)
    {
if(strfind(inputtext, antisqlinjection, true) != -1)
{
SCM(playerid, -1, "Nu sunt permise asemenea caractere.");
return 1;
    }
}
 
new vehicleid = GetPlayerVehicleID(playerid); // AICI E EROAREA
new sendername[25];
new string[1024];
 
 
 
 
 if( dialogid == DIALOG_TW ) /// AICI E ERAORE
 
 
.....
 
 
if(dialogid == 1666) // EROAREARA
    {
      if(response)  
 
Sper sa ma puteti ajuta, multumesc.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Salut, cum a spus si WopsS mai sus dar si SoloREGELE, warningurile sunt de la nealinierea randurilor in script.

O modalitate de a rezolva warningurile este sa aliniezi randurile manual.

O alta modalitate de a rezolva problema este sa mergi in susul scriptului(la define-uri) dupa care sa scri #pragma tabsize 0 si te asigur ca va merge.

Succes.

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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.