From 1f58a262e17be5692ecfe8e4aaaa00eb2fb4e482 Mon Sep 17 00:00:00 2001 From: Mustache Dom <123716453+Mustachedom@users.noreply.github.com> Date: Mon, 27 Nov 2023 14:21:21 -0800 Subject: [PATCH] Update client.lua MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a cleapedtasks so animations can’t loop --- client.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/client.lua b/client.lua index 7555f4c..187cc6f 100644 --- a/client.lua +++ b/client.lua @@ -30,6 +30,7 @@ local function OpenATM() coords = vector3(0.1, 0.03, -0.05), rotation = vector3(0.0, 0.0, 180.0), }, {}, function() + ClearPedTasks(PlayerPedId()) QBCore.Functions.TriggerCallback('qb-banking:server:openATM', function(accounts, playerData, acceptablePins) SetNuiFocus(true, true) SendNUIMessage({