Dialog popping up
#6

Should be somewhat like this :
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(!response) return SendClientMessage(playerid, 0xFFFFFFFF, "You canceled!"); Kick(playerid);
        if (response == 1)
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "You agreed to the terms");
            PublicCallBackHere(playerid); // Should be something like this
            return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Dialog popping up - by 77ther - 22.02.2011, 13:16
AW: Dialog popping up - by Nero_3D - 22.02.2011, 13:59
Re: AW: Dialog popping up - by 77ther - 22.02.2011, 14:18
Re: Dialog popping up - by maramizo - 22.02.2011, 14:27
Re: Dialog popping up - by 77ther - 22.02.2011, 14:28
Re: Dialog popping up - by maramizo - 22.02.2011, 14:33
Re: Dialog popping up - by 77ther - 22.02.2011, 14:49

Forum Jump:


Users browsing this thread: 2 Guest(s)