Skip to main content

startStabalizing

exports["RiP-Death"]:startStabalizing(target) 

This function starts stabilizing a player with animation

Arguments

NameTypeOptionalExplenation
targetIntegerNoTarget player source

Example

local closestPlayer, closestPlayerDistance = ESX.Game.GetClosestPlayer()

if closestPlayer and closestPlayerDistance < 2 then
exports["RiP-Death"]:startStabalizing(GetPlayerServerId(closestPlayer))
end