Check IsControlJustReleased() every frame

This commit is contained in:
ElPumpo
2018-12-30 20:58:06 +01:00
parent fe00e79046
commit 1dece11ccd
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1643,7 +1643,7 @@ Citizen.CreateThread(function()
while true do
Citizen.Wait(10)
Citizen.Wait(100)
if PlayerData.job ~= nil and PlayerData.job.name == 'police' then
@@ -1797,7 +1797,7 @@ end)
Citizen.CreateThread(function()
while true do
Citizen.Wait(10)
Citizen.Wait(0)
if CurrentAction ~= nil then
ESX.ShowHelpNotification(CurrentActionMsg)