31.05.2011, 16:17
In the [GM] that I'm working on the commands stopped working. At the end of the script I had to put #endif otherwise the GameMode wouldn't compile. The way I have my commands set up is that they can be enabled/disabled by using the true/false system.
From what I remember I put #endif accordingly and it asked me to use #endif again. Now none of my commands work. Commands inside Filterscripts however work normally. If someone can help, I would gladly appreciate it.
pawn Код:
#define ThisCommand true
if ThisCommand == true
if(strcmp,"/command",bla,bla)
{
for those who didn't know what I'm talking about
}
#endif