server-beta icon indicating copy to clipboard operation
server-beta copied to clipboard

Bug Dialog (last version)

Open PainFrenemy2 opened this issue 1 year ago • 4 comments

The problem with the dialog is that if you send %s %d %i etc to the input(DIALOG_STYLE_INPUT) it will throw an error, the dialog won't show or close, in GetPlayerDialogID(playerid) it will still be considered open

here are the test commands to check CMD:test(playerid) { //send %s SPD(playerid, 100, DIALOG_STYLE_INPUT, " ", "132", "Send", "cl"); } CMD:checkdd(playerid) { SCM(playerid, -1, "%d", GetPlayerDialogID(playerid)); }

Release version [v1.3.1.2739]

PainFrenemy2 avatar Aug 09 '24 13:08 PainFrenemy2

what do you mean it will throw an error? where does it throw the error? and you said dialog won't show or close. what does this mean as well? is your input dialog shown or closed?

AmyrAhmady avatar Aug 12 '24 21:08 AmyrAhmady

send %s %d to the input field and then call GetPlayerDialogID(playerid)

PainFrenemy2 avatar Aug 13 '24 21:08 PainFrenemy2

Well can you please give us information first before forcing us to test it in game?

AmyrAhmady avatar Aug 13 '24 21:08 AmyrAhmady

https://github.com/openmultiplayer/open.mp/compare/master...PainFrenemy2:open.mp:patch-1?diff=unified&w=

if the title field is empty, the dialog will not be displayed

SPD(playerid, 100, DIALOG_STYLE_INPUT, "", "132", "Send", "cl");

PainFrenemy2 avatar Aug 14 '24 12:08 PainFrenemy2