mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-02 03:08:52 +00:00
Check IsControlJustReleased() every frame
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ end
|
||||
-- Key Controls
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(10)
|
||||
Citizen.Wait(0)
|
||||
|
||||
if IsControlJustReleased(0, Keys['F3']) and GetLastInputMethod(2) and not isDead then
|
||||
OpenAnimationsMenu()
|
||||
|
||||
Reference in New Issue
Block a user