Disable user from using all commands but one
#4

than i suggest you to use hash


pawn Код:
at top of your script and then use NocommandInMinigame() in every command

#define NoCommandInMinigame() if(IsPlayerInMinigame[playerid] == 1) return SendClientMessage(playerid, -1, "use /kill to exit ( only kill cmd will work in deathmatch)" );
Reply


Messages In This Thread
Disable user from using all commands but one - by Sellize - 03.04.2015, 17:39
Re: Disable user from using all commands but one - by JeaSon - 03.04.2015, 17:45
Re: Disable user from using all commands but one - by Sellize - 03.04.2015, 17:46
Re: Disable user from using all commands but one - by JeaSon - 03.04.2015, 17:48
Re: Disable user from using all commands but one - by Sellize - 03.04.2015, 18:02
Re: Disable user from using all commands but one - by CalvinC - 03.04.2015, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)