#define in YCMD
#2

Quote:
Originally Posted by Y_Less
View Post
No, but why would you want to? What does that gain you over naming the command normally?
I use one script on two different server.For example:

Code:
#define CROATIA 1
#define BOSNIA 0

#if CROATIA == 1
#define ADMIN "makeadmin"
#else 
#define ADMIN "adminmake"
#endif
(It's just example,so when i compile with #define Croatia 1 i get different command names then #define bosnia 1...)
Reply


Messages In This Thread
#define in YCMD - by GospodinX - 27.07.2018, 10:10
Re: #define in YCMD - by GospodinX - 27.07.2018, 10:27
Re: #define in YCMD - by GospodinX - 27.07.2018, 13:18
Re: #define in YCMD - by Gammix - 27.07.2018, 14:37
Re: #define in YCMD - by GospodinX - 27.07.2018, 17:54

Forum Jump:


Users browsing this thread: 2 Guest(s)