Check IsControlJustReleased() every frame

This commit is contained in:
ElPumpo
2018-12-30 21:01:10 +01:00
parent 87ea87b8ae
commit 684275ec2e
+1 -1
View File
@@ -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()