Help please,im beginner :) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help please,im beginner :) (
/showthread.php?tid=150204)
Help please,im beginner :) -
kingdom99 - 25.05.2010
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
Re: Help please,im beginner :) -
cAMo - 25.05.2010
Paste the code around that line so we can help.
It basically means that you didn't indent the code where you should have...
Re: Help please,im beginner :) -
ViruZZzZ_ChiLLL - 25.05.2010
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.
On top of scrpit. If your too lazy to indent it
Re: Help please,im beginner :) -
Grim_ - 25.05.2010
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.
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.
Re: Help please,im beginner :) -
cAMo - 25.05.2010
Lazy = Fail
If you're lazy about indenting, it's very likely that your script lacks quality too.
Re: Help please,im beginner :) -
kingdom99 - 26.05.2010
THANK YOU VERY MUCH!! srsly..im just trying to help my friend's script
Thank you!!