open.mp
open.mp copied to clipboard
Not quite correct DialogResponse validation for TABLIST_HEADERS style
trafficstars
Cases when TABLIST_HEADERS dialog is displayed without lines are not taken into account, which creates additional difficulties and breaks the logic of dialog processing on the server (for example, it does not allow you to know if the player has answered the dialog)
Thus, such a dialog will be correctly displayed to the client, but any response to it (including closing) will not be delivered:
ShowPlayerDialog(playerid, 4000, DIALOG_STYLE_TABLIST_HEADERS, "Test", " ", "Ok", "Close");