Skip to content

Commit 195204c

Browse files
authored
Merge pull request #18 from Sh0rtyyy/patch-1
Clearpedtasks for disable hands up
2 parents 741e705 + d280041 commit 195204c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/main.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ local playerLoaded, uiActive, inMenu = false, false, false
126126
atm = atm or false
127127
SetNuiFocus(state, state)
128128
inMenu = state
129+
ClearPedTasks(PlayerPedId())
129130
if not state then
130131
SendNUIMessage({
131132
showMenu = false
@@ -257,4 +258,4 @@ RegisterNUICallback('checkPincode', function(data, cb)
257258
ESX.ShowNotification(TranslateCap('pincode_not_found'), "error")
258259
end
259260
end, data)
260-
end)
261+
end)

0 commit comments

Comments
 (0)