open.mp icon indicating copy to clipboard operation
open.mp copied to clipboard

improved dialog response checking

Open atomlin-git opened this issue 3 months ago • 0 comments

Maded:

  • now, when processing a response to a dialogs next types: "DIALOG_STYLE_LIST", "DIALOG_STYLE_TABLIST_HEADERS", "DIALOG_STYLE_TABLIST" the number of lines in the body of the dialogue is counted, and if the "listitem" value that the player sent is more than we counted - such a response is ignored.

  • limited the response parametr value from 0 to 1

Feat #866 and #867

P.S: Implemented through a loop, not a "Impl::count", since in this case the loop should be faster

atomlin-git avatar Mar 26 '24 21:03 atomlin-git