UsePlayerPedAnims

Tags: player

Description

Uses standard player walking animation (animation of the CJ skin) instead of custom animations for every skin (e.g. skating for skater skins).

Name Description

Examples

public OnGameModeInit()
{
    UsePlayerPedAnims();
    return 1;
}

Notes

TIP

Only works when placed under OnGameModeInit. Not using this function causes two-handed weapons (not dual-handed - a single weapon that is held by both hands) to be held in only one hand.

  • ApplyAnimation: Apply an animation to a player.
  • ClearAnimations: Clear any animations a player is performing.