Skip to content

Commit

Permalink
Update laststand.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
KostaZx authored Apr 6, 2024
1 parent 5571c7f commit 6a8cb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/laststand.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local WEAPONS = exports.qbx_core:GetWeapons()
---blocks until ped is no longer moving
function WaitForPlayerToStopMoving()
local timeOut = 10000
while GetEntitySpeed(cache.ped) > 0.5 or IsPedRagdoll(cache.ped) and timeOut > 1 do timeOut -= 10 Wait(10) end
while GetEntitySpeed(cache.ped) > 1.0 or IsPedRagdoll(cache.ped) and timeOut > 1 do timeOut -= 10 Wait(10) end
end

--- low level GTA resurrection
Expand Down

0 comments on commit 6a8cb2d

Please sign in to comment.