OnPlayerCommandText
#1

Hello,
So i have added this under OnPlayerCommandText

Код:
	   if(Minigames[playerid] == 1) return SendClientMessage(playerid,COLOR_RED,"You cant use  commands now."), 0;
And its working fine

But i got a question .. I want to enable just one command When player is in minigames

Help please.
Reply


Messages In This Thread
OnPlayerCommandText - by Ghazal - 17.04.2014, 14:25
Re: OnPlayerCommandText - by offon - 17.04.2014, 14:41
Re: OnPlayerCommandText - by HitterHitman - 17.04.2014, 14:43
Re: OnPlayerCommandText - by Gaurav_Rawat - 17.04.2014, 14:44
Re: OnPlayerCommandText - by Hanuman - 17.04.2014, 14:47
Re: OnPlayerCommandText - by Bingo - 17.04.2014, 14:48
Re: OnPlayerCommandText - by Ghazal - 17.04.2014, 14:49
Re: OnPlayerCommandText - by Bingo - 17.04.2014, 14:51
Re: OnPlayerCommandText - by Hanuman - 17.04.2014, 14:53
Re: OnPlayerCommandText - by Bingo - 17.04.2014, 14:58

Forum Jump:


Users browsing this thread: 1 Guest(s)