warning 217: loose indentation - 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)
+--- Thread: warning 217: loose indentation (
/showthread.php?tid=511494)
warning 217: loose indentation -
Lirbo - 05.05.2014
pawn Код:
if(!Engined{vehicleid}){Engined{vehicleid} = true;return 1;}else{Engined{vehicleid} = false;}return 1;}
warning 217: loose indentation
Re: warning 217: loose indentation -
PrivatioBoni - 05.05.2014
Why do you have what should be multiple lines of code, on just one?
But there is a possibility the warning itself could be due to surrounding lines. Paste the line before and after please.
Re: warning 217: loose indentation -
Lirbo - 05.05.2014
Quote:
Originally Posted by PrivatioBoni
Why do you have what should be multiple lines of code, on just one?
But there is a possibility the warning itself could be due to surrounding lines. Paste the line before and after please.
|
before and after what?
and i'm doing all in one line because i want to save lines... less lines
my rp mode is pretty well for now and its just 2000 lines... cuz im saving lines
Re: warning 217: loose indentation -
PrivatioBoni - 05.05.2014
The lines before and after. Also, don't try and cram stuff on the same line, it's hard to read and I'm pretty sure it will save little to no space at all. I'm pretty sure compilers remove superfluous spaces anyway.
Re: warning 217: loose indentation -
Lirbo - 05.05.2014
Quote:
Originally Posted by PrivatioBoni
The lines before and after. Also, don't try and cram stuff on the same line, it's hard to read and I'm pretty sure it will save little to no space at all. I'm pretty sure compilers remove superfluous spaces anyway.
|
NVM
fixed it