mirror of
https://github.com/jimathy/rpemotes.git
synced 2026-05-30 11:51:51 -04:00
perf: ⚡ optimization of idle performances
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user