[Help] Not sure about this..- Indentation/Include
#1

Basically the include file is causing the line below it to give a loose indentation warning
Does it matter if I put the classes include under this, or in my Include handler?


pawn Код:
public OnGameModeInit()
{
#include "inc/classes.V"
    SetGameModeText("PRJ.V - 0.00");
    return 1;
}
Reply
#2

You could just indent it right?

pawn Код:
public OnGameModeInit()
{
     #include "inc/classes.V"
    SetGameModeText("PRJ.V - 0.00");
    return 1;
}
Reply
#3

Originally that is how I had it, unfortunately that doesn't work.

I got confused with the [ pawn ] tag..
Reply
#4

Indent the lines in the include, it's "" and not <> this means wherever you place your include line it starts reading from that position (hint, move the lines below if it doesn't work).
Reply
#5

Quote:
Originally Posted by Donny
Indent the lines in the include, it's "" and not <> this means wherever you place your include line it starts reading from that position (hint, move the lines below if it doesn't work).
I have the "", and I will try to move it towards the bottom, thanks for your response.

EDIT: Didn't Work...
pawn Код:
public OnGameModeInit()
{
    SetGameModeText("PRJ.V - 0.00");
    #include "inc/classes.V"
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)