How to disable Right Click to exit menus

Need to make ti so right click doesnt exit out of esx menus anyone have any insight on what must be done?

What do you mean by this? Disabling right click in the esx menus?

when in menus on my esx server when i right click, it exits the menus. i have a script which i need to use right click to look at things but need a menu open while doing it

(i thought of a quick solution as typing this - toggle aim in gtav settings)

What script is it? I gotta log off so i’l be back soon but tell me what script it is.

PIS - Police Interaction Script

Pretty sure it uses native ui? Does it or?

warmenu?

It uses war menu? Does the menu have a config of sorts in the script? It may need to be disabled in the code.

Has anyone figured this out?

I believe editing line 7 of warmenu.lua (link) to this should work :

local keys = { up = 188, down = 187, left = 189, right = 190, select = 201, back = 194 }