Skip to content

Commit

Permalink
refactor(client/laststand): disarm player when going into last stand
Browse files Browse the repository at this point in the history
  • Loading branch information
googleoblivion authored Apr 19, 2024
1 parent 5ad3c1e commit db46592
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/laststand.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db46592

Please sign in to comment.