Guys help fast PLEASEEE. -
Pro_LiZzy - 29.10.2013
Okay well I mapped few things in Editor and when I add them in pawno I dont get spaces if you know what I mean.On previous map I have space on each object and I forgot how I added it there.Is there any solution for this.Here is one screen shot of what I mean.
http://i.imgur.com/7furJ1X.png
It might sound silly for you but still I am new in this.
Re: Guys help fast PLEASEEE. -
Pottus - 29.10.2013
That shouldn't cause any problems anyways.
Re: Guys help fast PLEASEEE. -
Pro_LiZzy - 29.10.2013
Quote:
Originally Posted by [uL]Pottus
That shouldn't cause any problems anyways.
|
It give me error
C:\Users\Nađ\Desktop\ClanMap By Pro_LiZzy\gamemodes\clan.pwn(571) : warning 217: loose indentation
C:\Users\Nađ\Desktop\ClanMap By Pro_LiZzy\gamemodes\clan.pwn(792) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Warnings.
And if I fix these two I get more and it keep going like that
Re: Guys help fast PLEASEEE. - Patrick - 29.10.2013
This thread would help you out, to fix the warning Loose Indentation
Link:
https://sampforum.blast.hk/showthread.php?tid=256961
or use this link(link below) to tidy/indent your code
Link:
http://dracoblue.net/tidy/pawn/
Re: Guys help fast PLEASEEE. -
Ninad - 29.10.2013
Ok i have found the mistake! Paste the line starting from 570!
Re: Guys help fast PLEASEEE. -
Pro_LiZzy - 29.10.2013
Quote:
Originally Posted by pds2k12
|
Dude I know whats error I am wondering how I can automaticly place spaces.
Re: Guys help fast PLEASEEE. -
DanishHaq - 29.10.2013
Quote:
Originally Posted by Ninad
Ok i have found the mistake! Paste the line starting from 570!
|
Be careful; the screenshot already has all the lines.
On topic:
Loose indention is when the lines are not aligned correctly, i.e. something like this:
pawn Код:
public OnGameModeInit()
{
Code1;
Code2;
{
Code3;
}
Code4;
}
Would be incorrect and return the loose indention error, however, something like this:
pawn Код:
public OnGameModeInit()
{
Code1;
Code2;
{
Code3;
}
Code4;
}
Is correct because it's all aligned. It's the same problem in the SS you gave us.
More:
To add more spaces, you need to go to the start of the line and press TAB. If you want to do it to multiple lines, select the lines (at least 2) and then press TAB.
Re: Guys help fast PLEASEEE. -
Ninad - 29.10.2013
Quote:
Originally Posted by DanishHaq
Be careful; the screenshot already has all the lines.
On topic:
Loose indention is when the lines are not aligned correctly, i.e. something like this:
pawn Код:
public OnGameModeInit() { Code1; Code2; { Code3; } Code4; }
Would be incorrect and return the loose indention error, however, something like this:
pawn Код:
public OnGameModeInit() { Code1; Code2; { Code3; } Code4; }
Is correct because it's all aligned. It's the same problem in the SS you gave us.
More:
To add more spaces, you need to go to the start of the line and press TAB. If you want to do it to multiple lines, select the lines (at least 2) and then press TAB.
|
If DanishHaq here, ur problems must be solved!
Re: Guys help fast PLEASEEE. -
Pro_LiZzy - 29.10.2013
Quote:
Originally Posted by DanishHaq
Be careful; the screenshot already has all the lines.
On topic:
Loose indention is when the lines are not aligned correctly, i.e. something like this:
pawn Код:
public OnGameModeInit() { Code1; Code2; { Code3; } Code4; }
Would be incorrect and return the loose indention error, however, something like this:
pawn Код:
public OnGameModeInit() { Code1; Code2; { Code3; } Code4; }
Is correct because it's all aligned. It's the same problem in the SS you gave us.
More:
To add more spaces, you need to go to the start of the line and press TAB. If you want to do it to multiple lines, select the lines (at least 2) and then press TAB.
|
Dude listen I know whats the problem.I need spaces but I cant add spaces in 500+ lines.These previous lines on picture were added just by pressing CTL+V wich I copyed from editor and space already was there.
Re: Guys help fast PLEASEEE. -
DanishHaq - 29.10.2013
Quote:
Originally Posted by Pro_LiZzy
Dude listen I know whats the problem.I need spaces but I cant add spaces in 500+ lines.These previous lines on picture were added just by pressing CTL+V wich I copyed from editor and space already was there.
|
Yes I know. I did say at the end too if you bothered to read how to add those spaces.
Quote:
More:
To add more spaces, you need to go to the start of the line and press TAB. If you want to do it to multiple lines, select the lines (at least 2) and then press TAB.
|
This is the only way it will work, you can't just copy + paste the script and then expect all the indention to be perfect.