Something went wrong.
#2

Try this out
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case 1: SendClientMessage(playerid, 0xFFFFFFAA, "You've read the /cmds.");
        case 2: SendClientMessage(playerid, 0xFFFFFFAA, "You've read the /teles.");
        case 3: SendClientMessage(playerid, 0xFFFFFFAA, "You've read the /updates.");
        case 4: SendClientMessage(playerid, 0xFFFFFFAA, "Make sure you visit our website! racerevolution.cu.cc.");
        case 5:
        {
            if(!response)
            {
                SendClientMessage(playerid, 0xFF000000, "You must accept our server rules to play on!");
                new name[MAX_PLAYER_NAME], string[128];
                GetPlayerName(playerid, name, sizeof(name));
                format(string, sizeof(string), "[/RULES]: %s has been kicked for not accepting the rules.", name);
                SendClientMessageToAll(0xFF000000, string);
                Kick(playerid);
            }
            else SendClientMessage(playerid, 0xFFFFFFAA, "Thanks for accepting our server rules, have fun!");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Something went wrong. - by LeeXian99 - 23.03.2013, 08:12
Re: Something went wrong. - by [ABK]Antonio - 23.03.2013, 08:46
Re: Something went wrong. - by LeeXian99 - 23.03.2013, 08:54

Forum Jump:


Users browsing this thread: 1 Guest(s)