alt.Player.local.isInRagdoll

Get if the player is currently in Ragdoll Mode.

Syntax

readonly isInRagdoll: boolean;

Real World Example

// Are they aiming?
if (alt.Player.local.isInRagdoll) {
    alt.log('You are ragdolling!');
}

alt.Player.local can also be a player instance from server

results matching ""

    No results matching ""