19.02.2011, 18:55
So you mean like this for example:
pawn Код:
new string[65];
if(ClockOn[playerid]) format(string, sizeof(string), "1. Other Option\r\n2. Turn clock off\r\n3. Other Option");
else format(string, sizeof(string), "1. Other Option\r\n2. Turn clock on\r\n3. Other Option");
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Title", string, "Select", "Cancel");