03.10.2010, 18:46
I think it's not as easy as you think. At first you need a variable that you use OnGameModeInit. Then you need to check in every callback if the variable is TRUE or FALSE. Like this:
And if you entered the password, it should execute OnGameModeInit again.
pawn Код:
OnGameModeInit([...])
{
if(PassEntered==TRUE)
{
//REAL CODE
}
if(PassEntered==FALSE)return 0;
}