Dialog msgbox type.
#4

Well with a message box there is no use for listitem. Just use if(!response) do something.. else do something else.

So button left == response button right == !response.

if(!response)
{
SendClientMessage(playerid, CHOOSE_COLOR, "You selected the right button");
return 1;
}

Then code under it would only be executed if the left button was pressed.
Reply


Messages In This Thread
Dialog msgbox type. - by iGetty - 24.07.2011, 19:25
Re: Dialog msgbox type. - by MadeMan - 24.07.2011, 19:33
Re: Dialog msgbox type. - by MoroDan - 24.07.2011, 19:33
Re: Dialog msgbox type. - by Lee_Percox - 24.07.2011, 19:34
Re: Dialog msgbox type. - by iGetty - 24.07.2011, 19:56

Forum Jump:


Users browsing this thread: 1 Guest(s)