Deathmatch help
#7

Quote:
Originally Posted by DarkPhoenix
Quote:
Originally Posted by (Jay)
Quote:
Originally Posted by [MWR
Niixie ]
Sure, erm.

You know like when you check if a player is logged in.

Code:
IsLogged[playerid]
I bet you have one look'a'like to check if the player is in the DM. if not, then go to the top and do

Code:
new IsPlayerInDM[MAX_PLAYERS];
then when a player enters the DM put it in like

Code:
DCMD_COMMANDNAME(blablabla)
{
if(IsPlayerInDM[playerid] == 0)
{
//Rest of the code.
}
else
{
SendClientMessage(playerid, 0xFF0000AA, "Sorry you cannot use commands, While your in a dm");
}
return 1;
}
Will i have to add this to all my Dms?
I you want to disable all!
Ah ye i do thanks lol.
Reply


Messages In This Thread
Deathmatch help - by Jay. - 23.05.2010, 07:39
Re: Deathmatch help - by Niixie - 23.05.2010, 08:09
Re: Deathmatch help - by Jay. - 23.05.2010, 08:17
Re: Deathmatch help - by Niixie - 23.05.2010, 08:22
Re: Deathmatch help - by Jay. - 23.05.2010, 08:26
Re: Deathmatch help - by Andy_McKinley - 23.05.2010, 08:29
Re: Deathmatch help - by Jay. - 23.05.2010, 08:32
Re: Deathmatch help - by Niixie - 23.05.2010, 08:35
Re: Deathmatch help - by dice7 - 23.05.2010, 08:39
Re: Deathmatch help - by Jay. - 23.05.2010, 08:40

Forum Jump:


Users browsing this thread: 1 Guest(s)