15.03.2011, 19:40
use a var..
pawn Code:
// at the top
new GlobalChat;
forward DisableGlobalChat();
forward EnableGlobalChat();
// somewhere not inside a callback or function
public DisableGlobalChat()
{
GlobalChat = 0;
}
// somewhere not inside a function
public EnableGlobalChat()
{
GlobalChat = 0;
}