[Help] You are in DM /kill to leave
#2

Quote:
Originally Posted by mickos0087
Посмотреть сообщение
Hey everyone,

I have some minigames I know how to make it, but I need disable ALL commands for players that has joined a minigame.
When a player in a minigame try a command he will see this: You are currectly in DM /kill to leave.
How can I make that?

I have try a lot of things but it didnt work by me, because I got errors/warnings.
Can anyone tell me more about it?

Thanks

micks0087
You could add in all commands if((*your event array variable*)playerinfo[playerid][inevent] == 1)return SendClientMessage(playerid, COLOR_ERROR, "You can't use that command right now");
But that requre alot of work if you got many command and there may be some other way that i don't know about.
Reply


Messages In This Thread
[Help] You are in DM /kill to leave - by mickos - 22.06.2012, 17:34
Re: [Help] You are in DM /kill to leave - by Ranama - 22.06.2012, 17:36
Re: [Help] You are in DM /kill to leave - by Kindred - 22.06.2012, 17:38
Re: [Help] You are in DM /kill to leave - by mickos - 22.06.2012, 17:49
Re: [Help] You are in DM /kill to leave - by denNorske - 22.06.2012, 18:40
Re: [Help] You are in DM /kill to leave - by iggy1 - 22.06.2012, 18:50
Re: [Help] You are in DM /kill to leave - by denNorske - 23.06.2012, 06:21
Re: [Help] You are in DM /kill to leave - by Dubya - 23.06.2012, 06:34
Re: [Help] You are in DM /kill to leave - by denNorske - 23.06.2012, 08:59

Forum Jump:


Users browsing this thread: 1 Guest(s)