Warning 217: loose indentation | Help Me
#3

You have to indent your code correctly to remove this warning.

For instance, if you were to use the callback OnGameModeInit, your code should look as the following:

Код:
public OnGameModeInit()
{
	CreateObject(984, -290.56116, 1034.15173, 19.22765, 0.00000, 0.00000, -0.06000);
	return 1;
}
If you make it look like this, you will get the warning:


Код:
public OnGameModeInit()
{
CreateObject(984, -290.56116, 1034.15173, 19.22765, 0.00000, 0.00000, -0.06000);
	return 1;
}
You can use TAB to insert an indent into your code.

Alternatively, you can use

Код:
#pragma tabsize 0
to avoid this warning from occurring, but this is not recommended; it would be best to just indent correctly.
Reply


Messages In This Thread
Warning 217: loose indentation | Help Me - by VixxeN - 10.03.2017, 15:40
Re: Warning 217: loose indentation | Help Me - by TitanX - 10.03.2017, 15:44
Re: Warning 217: loose indentation | Help Me - by LEOTorres - 10.03.2017, 15:46
Re: Warning 217: loose indentation | Help Me - by VixxeN - 10.03.2017, 15:58
Re: Warning 217: loose indentation | Help Me - by TitanX - 10.03.2017, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)