From 731adb73520f3561967103aae7f49a221e198e42 Mon Sep 17 00:00:00 2001 From: Robin Bird Date: Thu, 18 Apr 2024 16:22:03 -0500 Subject: [PATCH] refactor(client/laststand): trigger disarm event --- client/laststand.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/client/laststand.lua b/client/laststand.lua index f9cb889..c8aafef 100644 --- a/client/laststand.lua +++ b/client/laststand.lua @@ -61,6 +61,7 @@ end ---put player in last stand mode and notify EMS. function StartLastStand() Wait(1000) + TriggerEvent('ox_inventory:disarm', cache.playerId, true) WaitForPlayerToStopMoving() TriggerServerEvent('InteractSound_SV:PlayOnSource', 'demo', 0.1) LaststandTime = config.laststandReviveInterval