cannot use cmd help
#4

pawn Код:
new IsPlayerInDMzone[MAX_PLAYERS];

COMMAND:minigun(pplayerid, params[])
{
    IsPlayerInDMzone[playerid] = 1;
    //stuff stuff
}

COMMAND:leavedm(playerid, params[])
{
    IsPlayerInDMzone[playerid] = 0;
    //stuff stuff
}

COMMAND:anothercommand(playerid, params[])
{
    if(IsPlayerInDMzone[playerid] == 1) return SendClientMessage(playerid, 0xFFFFFFAA, "You cannt teleport to another place when your in a DM zone use /leavedm first!");
    //stuff stuff
}
Reply


Messages In This Thread
cannot use cmd help - by tanush - 28.04.2011, 20:40
Re: cannot use cmd help - by CrazyBlob - 28.04.2011, 20:41
Re: cannot use cmd help - by tanush - 28.04.2011, 20:42
Re: cannot use cmd help - by Laronic - 28.04.2011, 20:49
Re: cannot use cmd help - by tanush - 28.04.2011, 20:51
Re: cannot use cmd help - by Laronic - 28.04.2011, 20:53
Re: cannot use cmd help - by blackwave - 28.04.2011, 21:00
Re: cannot use cmd help - by tanush - 28.04.2011, 21:07
Re: cannot use cmd help - by Vince - 28.04.2011, 21:14
Re: cannot use cmd help - by Fj0rtizFredde - 28.04.2011, 21:15
Re: cannot use cmd help - by Mauzen - 28.04.2011, 21:16
Re: cannot use cmd help - by aircombat - 28.04.2011, 21:29

Forum Jump:


Users browsing this thread: 1 Guest(s)