Disable Commands

If for example i have some commands in the GM and i have a minigame on a FS and i want to disable the COmmands from GM while in the minigame,how can i do that?

With PVar's. Set a PVar in the FS while any player is in the Minigame, in the Gamemode you can use then GetPVar and return OnPlayerCommandText if the PVar is setted

#edit: Or Include your Filterscript in the Gamemode and use a normal bool (True/False).

Forum Jump:

Users browsing this thread: 1 Guest(s)