To change #define with one command.
#3

Quote:
Originally Posted by JaYmE
Top of script:

pawn Код:
#define Debug // On

or

// #define Debug // Off

#ifdef Debug
 if(strcmp(cmd, "/debug", true) ==0)
 {
 // Command in here :D
 }
#else
 return 0;
you added a " before cmd and you putt == instead of ==0.

I'm not sure that'll work.
Reply


Messages In This Thread
To change #define with one command. - by nico005 - 17.05.2009, 02:27
Re: To change #define with one command. - by JaYmE - 17.05.2009, 02:32
Re: To change #define with one command. - by Badger(new) - 17.05.2009, 02:35
Re: To change #define with one command. - by ICECOLDKILLAK8 - 17.05.2009, 02:50
Re: To change #define with one command. - by hazdog - 17.05.2009, 03:03
Re: To change #define with one command. - by JaYmE - 17.05.2009, 03:21
Re: To change #define with one command. - by nico005 - 17.05.2009, 04:30
Re: To change #define with one command. - by Badger(new) - 17.05.2009, 11:23
Re: To change #define with one command. - by ICECOLDKILLAK8 - 17.05.2009, 11:28
Re: To change #define with one command. - by Badger(new) - 17.05.2009, 13:06

Forum Jump:


Users browsing this thread: 2 Guest(s)