From 6b8e66f50df3ed5104caa09ee319c08cf6e0800c Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Mon, 4 Mar 2019 21:58:09 +0100 Subject: [PATCH] Updated native name --- client/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/main.lua b/client/main.lua index bc7153be..2f23cacb 100644 --- a/client/main.lua +++ b/client/main.lua @@ -112,11 +112,11 @@ Citizen.CreateThread(function() while true do Citizen.Wait(0) - if IsControlJustReleased(0, Keys['F3']) and GetLastInputMethod(2) and not isDead then + if IsControlJustReleased(0, Keys['F3']) and IsInputDisabled(0) and not isDead then OpenAnimationsMenu() end - if IsControlJustReleased(0, Keys['X']) and GetLastInputMethod(2) and not isDead then + if IsControlJustReleased(0, Keys['X']) and IsInputDisabled(0) and not isDead then ClearPedTasks(PlayerPedId()) end