15.03.2009, 16:47
So, I'm might sure there is a bug with returning GameModeExit as a same line.
Gives you: "SERVER: Unknown command." When you use it.
It happens also when you return it with false.
You should return the GameModeExit in another line then
This doesn't give the SERVER:Unknown command.
pawn Код:
if(!strcmp(cmd,"/gmx",true)) return GameModeExit();
It happens also when you return it with false.
You should return the GameModeExit in another line then
pawn Код:
if(!strcmp(cmd,"/gmx",true))
{
GameModeExit();
return 1;
}