RULES Dialog
#7

Probably because you didn't return a value. Try this:

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case KickBox :
        {
            if(!response)
            {
                SendClientMessage(playerid,COLOR_RED, "You Declined and have been kicked Goodbye!");
                Kick(playerid);
            }
            else
            {
                SendClientMessage(playerid,COLOR_YELLOW, "You Accepted our rules Have fun!");
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
RULES Dialog - by [HS]Syko - 10.08.2012, 13:36
Re: RULES Dialog - by CentyPoo - 10.08.2012, 13:37
Re: RULES Dialog - by [HS]Syko - 10.08.2012, 13:39
Re: RULES Dialog - by [MM]RoXoR[FS] - 10.08.2012, 13:44
Re: RULES Dialog - by [HS]Syko - 10.08.2012, 13:49
Re: RULES Dialog - by markjaysonpinoy - 10.08.2012, 15:14
Re: RULES Dialog - by grand.Theft.Otto - 10.08.2012, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)