IsPlayerRagdoll

From GT-MP
Jump to: navigation, search
IsPlayerRagdoll
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript


See also: GetPedCanRagdoll, SetPedCanRagdoll, SetPedToRagdoll, CancelPedRagdoll

Returns whether the player is currently in a Ragdoll action.

Syntax

bool API.isPlayerRagdoll(LocalHandle player);

Required Arguments

  • player: parameter input should be in LocalHandle type.

NOTE: This function returns data in bool type.

Usage example(s)

API.isPlayerRagdoll(LocalHandle player);


References