20.03.2011, 03:06
The code isn`t enough, at least not at this hour, since I don`t feel like read through the whole code and think myself what the errors could be. So, if you would give me the errors along with the lines, I would appreciate it.
ps: Yes, that look organized ... I can bet you`re not receiving anymore "loose indentation" errors. or ...
Let me give you one advice.
Let`s say you put a 'if' statement.Underneath the 'if', you open the bracket ( { ). Then, on the next line, go to the bracket column ( to be on the same 'column' ) and press TAB. Don`t use Space in PAWNO when you're trying to arrange the code. Use TAB.
Something like:
Now, this not only applies for statements. For the returns aswell. After each open bracket, on the next line, press TAB. Hope you understood something.
ps: Yes, that look organized ... I can bet you`re not receiving anymore "loose indentation" errors. or ...
Let me give you one advice.
Let`s say you put a 'if' statement.Underneath the 'if', you open the bracket ( { ). Then, on the next line, go to the bracket column ( to be on the same 'column' ) and press TAB. Don`t use Space in PAWNO when you're trying to arrange the code. Use TAB.
Something like:
pawn Код:
if( bla bla)
{
(TAB)if( bla bla) // Where you see (TAB) you need to press TAB
{
(TAB) SendClientMessage( playerid, -1, "bla bla" ); // Where you see (TAB) you need to press TAB
}
return SendClientbla bla
}