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

response parameter in OnDialogResponse

Open NexiusTailer opened this issue 1 year ago • 0 comments

Currently, cheaters may modify dialog response with any integer value from 0 to 255:

image

and it will pass untouched to the pawn script.

I suggest always converting response parameter into boolean when processing any dialog response.

NexiusTailer avatar Feb 14 '24 11:02 NexiusTailer