GameModeExit.
#1

So, I'm might sure there is a bug with returning GameModeExit as a same line.

pawn Код:
if(!strcmp(cmd,"/gmx",true)) return GameModeExit();
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
pawn Код:
if(!strcmp(cmd,"/gmx",true))
{
  GameModeExit();
  return 1;
}
This doesn't give the SERVER:Unknown command.

Reply


Messages In This Thread
GameModeExit. - by MenaceX^ - 15.03.2009, 16:47
Re: GameModeExit. - by BeckzyBoi - 15.03.2009, 16:59
Re: GameModeExit. - by MenaceX^ - 15.03.2009, 21:54
Re: GameModeExit. - by NigNog1 - 15.03.2009, 22:10

Forum Jump:


Users browsing this thread: 1 Guest(s)