[HELP]Disabling commands when in dm and race
#7

Quote:
Originally Posted by BlackFoX
It is only one Variable that you set to 1 or 0 , so you can create if Statement and
check for value , if its is 1 block the cmd

Код:
if(value == 1)return SendClientMessage(...);
but you must Create Variable for every Player ( Max_Players )

new value[MAX_PLAYERS];

dont forget to Reset Variable if Player is leaving the Server ...
hmm, maybe here is the problem, i didnt reset variable on playerdc, it borns any problem? if yes, how?
Reply


Messages In This Thread
[HELP]Disabling commands when in dm and race - by LasTRace - 03.09.2009, 11:20
Re: [HELP]Disabling commands when in dm and race - by Doppeyy - 03.09.2009, 12:48
Re: [HELP]Disabling commands when in dm and race - by LasTRace - 03.09.2009, 13:20
Re: [HELP]Disabling commands when in dm and race - by Doppeyy - 03.09.2009, 13:57
Re: [HELP]Disabling commands when in dm and race - by LasTRace - 03.09.2009, 17:34
Re: [HELP]Disabling commands when in dm and race - by BlackFoX - 03.09.2009, 17:41
Re: [HELP]Disabling commands when in dm and race - by LasTRace - 03.09.2009, 19:03

Forum Jump:


Users browsing this thread: 1 Guest(s)