Skip to main content

SWITCH_PED_TO_ANIMATED

Game.SwitchPedToAnimatedHash0x762301C8
Usage
Game.SwitchPedToAnimated(charIndex, forceSwitch)

Sets a character from a ragdoll state to an animated state.

Parameters

  • charIndexintegerint
  • forceSwitchbooleanbool

Returns

Nothing

Original declaration
// 0x762301C8
void SWITCH_PED_TO_ANIMATED(int charIndex, bool forceSwitch);