Help please,im beginner :)
#1

well..i compile my script on pawno..but it says

Code:
J:\Gta San Andreas\ser 0.3\gamemodes\Test 2.pwn(203) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
whats the problem with "Loose indentation"?

Thanks
btw,im learning how to script,so..i just trying :P
Reply
#2

Paste the code around that line so we can help.

It basically means that you didn't indent the code where you should have...
Reply
#3

Don't worry about those things, it just means that
you didn't indent your code. But, it will not affect on
how it works on the server.

Code:
#pragma tabsize 0
On top of scrpit. If your too lazy to indent it
Reply
#4

Quote:
Originally Posted by ViruZZzZ_ChiLLL
Don't worry about those things, it just means that
you didn't indent your code. But, it will not affect on
how it works on the server.

Code:
#pragma tabsize 0
On top of scrpit. If your too lazy to indent it
Please, don't encourage poor indenting!

It just means your script looks something like this:
pawn Code:
hi()
{
  function1();
  function2();
  function3();
}
See how function2 is out of line with the others? Just line the beginning up with the others around that line and you'll be fine.
Reply
#5

Lazy = Fail

If you're lazy about indenting, it's very likely that your script lacks quality too.
Reply
#6

THANK YOU VERY MUCH!! srsly..im just trying to help my friend's script

Thank you!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)