diff --git a/client/Emote.lua b/client/Emote.lua index 7e45a44..a4b3e89 100644 --- a/client/Emote.lua +++ b/client/Emote.lua @@ -19,7 +19,7 @@ local PtfxNoProp = false Citizen.CreateThread(function() while true do - if IsPedShooting(PlayerPedId()) and IsInAnimation then + if IsInAnimation and IsPedShooting(PlayerPedId()) then EmoteCancel() end