utkuali/Credit-System

Getting stuck in the menu if you backspace. here is a fix though

Opened this issue · 0 comments

so i had friends test this out on my server and we found out if you backspace instead of saying no im not sure about buying the car you get stuck in the car while viewing the cars you have in the credit shop. a simple fix is adding this to your client.lua at the very end.

-- it makes backspace, escape, and right click will close the menu instead of getting stuck in the veiwing car to buy. --
Citizen.CreateThread(function() if IsControlPressed(0,177) then menu.close() menu2.close() menu3.close() end end)