Help please !
#1

While compiling those
1. http://pastebin.com/myukxSGc
2. http://pastebin.com/FEiPxsc2

Gives me those errors :
1.
Код:
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(31) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(41) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(42) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(43) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(47) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(49) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(57) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_HO~1\Untitled.pwn(124) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Warnings.
2.
Код:
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(23) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(33) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(34) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(35) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(40) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(42) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(50) : warning 217: loose indentation
C:\DOCUME~1\Danielo\Desktop\Generale\SAMP\FILESC~1\_FS_TR~1\truck.pwn(60) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


8 Warnings.
Reply
#2

Those warnings can be ignored.

Better to indent your code by "tabbing".
Reply
#3

#pragma tabsize 0

at the top of your script
Reply
#4

This is an example of unindented code.
pawn Код:
stock function(){
new something[50];
 format(something, sizeof(something), "this is my text");
  return 0;
}
It should be something like this

pawn Код:
stock function()
{
    new something[50];
    format(something, sizeof(something), "this is my text");
    return 0;
}
I hope you understand what I ment.
You can indent your code by tabbing like DJDhan said already, or you can just
pawn Код:
#pragma tabsize 0
at top of your script... Either way it will work, but I suggest you indenting your code by tabbing, it is better for you, because then you will be able to read your code 'better'.

EDIT: Sorry Kar, didn't saw ur message.
Reply
#5

lol its ok
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)