startStabalizing
exports["RiP-Death"]:startStabalizing(target)
This function starts stabilizing a player with animation
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
target | Integer | No | Target player source |
Example
local closestPlayer, closestPlayerDistance = ESX.Game.GetClosestPlayer()
if closestPlayer and closestPlayerDistance < 2 then
exports["RiP-Death"]:startStabalizing(GetPlayerServerId(closestPlayer))
end