SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 20/03/2011, 07:34 PM   #1
CraZy_KiLLaH
Guest
 
Posts: n/a
Default Disable Commands

Hello!
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?
Thanks.
 
Old 20/03/2011, 07:38 PM   #2
Pablo Borsellino
Huge Clucker
 
Pablo Borsellino's Avatar
 
Join Date: Mar 2011
Location: San Andreas, Los Santos
Posts: 362
Reputation: 86
Default AW: Disable Commands

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).
__________________

Don't drink and drive - just smoke and fly!


Envy is the German form of recognition...

Pablo Borsellino is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Commands in jail. ollis93 Help Archive 14 13/11/2010 11:17 PM
Disable commands in an area knackworst Help Archive 16 15/10/2010 06:01 PM
disable commands addysnow1 Help Archive 0 07/10/2009 09:13 PM
Enable/Disable commands JoshTheBoss Help Archive 2 31/05/2009 09:02 AM
How do i enable and disable commands? Coolman12 Help Archive 9 18/04/2009 10:47 AM


All times are GMT. The time now is 12:28 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.