17.05.2009, 04:30
dont work, #define Debug false is never changed.
if i made
#if Debug == false
#undef Debug
#define Debug true
SendClientMessage(playerid, COLOR_WHITE, "open");
#else
#undef Debug
#define Debug false
SendClientMessage(playerid, COLOR_WHITE, "close");
#endif
it's always "open" and nothing.
for test in gm if i puts directly #define Debug true. it work
if i made
#if Debug == false
#undef Debug
#define Debug true
SendClientMessage(playerid, COLOR_WHITE, "open");
#else
#undef Debug
#define Debug false
SendClientMessage(playerid, COLOR_WHITE, "close");
#endif
it's always "open" and nothing.
for test in gm if i puts directly #define Debug true. it work