25.11.2014, 14:36
Like this ?
pawn Код:
// top
new bool:snowStatus;
// when he presses it
snowStatus = !snowStatus;
new string[64];
format(string, sizeof(string), "- Snow Status\t%s", snowStatus ? "({008000}Enabled)" : "({FF0000}Disabled)");
ShowPlayerDialog(playerid, id, DIALOG_STYLE_LIST, caption, string, button1, button2)