using command
#1

Player can use the command and i have set it if he is in death match he can't use it but he still idk what the problem the other commands work fine but on this command not working

pawn Код:
CMD:cs(playerid,params[])
    {
        if(Teleport[playerid] == 1)
        {
        SendClientMessage(playerid, COLOR_RED, "You can't teleport when u are in class section");
        return 1;
        }
        if(indeathmatch[playerid] == 1)
        {
        SendClientMessage(playerid, COLOR_RED, "Type /Killme to leave the DM FIRST.");
        return 1;
        }
        else
        {
        ShowPlayerDialog(playerid, CSDIALOG, DIALOG_STYLE_MSGBOX, "{0094FF}MiniGame - Police VS Terrorist","{267F00}Select police or {267F00}terrorist\n\n","Police","Terrorist");
    return 1;
    }
}
Reply


Messages In This Thread
using command - by DarkB0y - 18.03.2013, 09:51
Re: using command - by Konstantinos - 18.03.2013, 09:56

Forum Jump:


Users browsing this thread: 1 Guest(s)