warning 217: loose indentation
#1

pawn Код:
if(!Engined{vehicleid}){Engined{vehicleid} = true;return 1;}else{Engined{vehicleid} = false;}return 1;}
warning 217: loose indentation
Reply
#2

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.
Reply
#3

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
Reply
#4

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.
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)