mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 09:48:52 +00:00
Merge branch 'esx-framework:main' into main
This commit is contained in:
@@ -391,6 +391,21 @@ CreateThread(function()
|
||||
|
||||
ESX.UI.Menu.CloseAll()
|
||||
GetAction({value = 'main'})
|
||||
|
||||
-- Prevent Free Tunning Bug
|
||||
CreateThread(function()
|
||||
while lsMenuIsShowed do
|
||||
DisableControlAction(2, 288, true)
|
||||
DisableControlAction(2, 289, true)
|
||||
DisableControlAction(2, 170, true)
|
||||
DisableControlAction(2, 167, true)
|
||||
DisableControlAction(2, 168, true)
|
||||
DisableControlAction(2, 23, true)
|
||||
DisableControlAction(0, 75, true) -- Disable exit vehicle
|
||||
DisableControlAction(27, 75, true) -- Disable exit vehicle
|
||||
Wait(0)
|
||||
end
|
||||
end)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -399,17 +414,3 @@ CreateThread(function()
|
||||
Wait(Sleep)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Prevent Free Tunning Bug
|
||||
CreateThread(function()
|
||||
while lsMenuIsShowed do
|
||||
DisableControlAction(2, 288, true)
|
||||
DisableControlAction(2, 289, true)
|
||||
DisableControlAction(2, 170, true)
|
||||
DisableControlAction(2, 167, true)
|
||||
DisableControlAction(2, 168, true)
|
||||
DisableControlAction(2, 23, true)
|
||||
DisableControlAction(0, 75, true) -- Disable exit vehicle
|
||||
DisableControlAction(27, 75, true) -- Disable exit vehicle
|
||||
end
|
||||
end)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<h1 align='center'>ESX Legacy</a></h1><p align='center'><b><a href='https://discord.gg/cNx6HF9P5J'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
|
||||
<h1 align='center'>ESX Legacy</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
|
||||
|
||||
**IMPORTANT**: ESX Legacy now supports ox Inventory. **HOWEVER, THIS SHOULD ONLY BE USED IF YOU ARE EXPERIENCED AND KNOW WHAT YOU ARE DOING**.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user