Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Citizen.CreateThread(
- function()
- while true do
- Citizen.Wait(1)
- if menuIsOpen then
- local playerPed = PlayerPedId()
- DisableControlAction(0, Keys["R"], true) -- Reload
- DisableControlAction(0, Keys["SPACE"], true) -- Jump
- DisableControlAction(0, Keys["Q"], true) -- Cover
- DisableControlAction(0, Keys["TAB"], true) -- Select Weapon
- DisableControlAction(0, Keys["F"], true) -- Also 'enter'?
- DisableControlAction(0, Keys["F1"], true) -- Disable phone
- DisableControlAction(0, Keys["F2"], true) -- Inventory
- DisableControlAction(0, Keys["F3"], true) -- Animations
- DisableControlAction(0, Keys["F6"], true) -- Job
- DisableControlAction(0, Keys["V"], true) -- Disable changing view
- DisableControlAction(2, Keys["B"], true) -- Disable going stealth
- DisableControlAction(0, Keys["X"], true) -- Disable clearing animation
- DisableControlAction(2, Keys["P"], true) -- Disable pause screen
- DisableControlAction(2, Keys["LEFTCTRL"], true) -- Disable going stealth
- end
- end
- end
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement