24.07.2011, 19:34
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.
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.