Posts: 2,368
Threads: 27
Joined: Jun 2010
Reputation:
0
This is used to end a #if define preprocessor, why would you want to add it, if you've no clue about it at the first time, weird.
Posts: 646
Threads: 238
Joined: Jun 2014
Reputation:
0
What benefits you bring? or is it just something unnecessary?
Posts: 160
Threads: 40
Joined: Jul 2015
Just remove this from your gamemode:
And find this:
Код:
#if defined FILTERSCRIPT
And remove it also
Posts: 255
Threads: 23
Joined: Dec 2014
Reputation:
0
#if is used alot in includes,like:
#if !defined Color_White
#define Color_White -1
#endif
So here,in some includes,if you don't define color white,it will define it automatically and end the if!
So same for filterscript:
#if defined FILTERSCRIPT
public onfilterscript init bla bla bla
#else (if not)
public ongamemode init bla bla bla
#endif