UsePlayerPedAnims

From SA-MP Wiki

Jump to: navigation, search


Description:

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


Image:32px-Ambox_warning_orange.png

Notes

  • 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.


Parameters:
This function has no parameters.


Return Values:

This function does not return any specific values.


Example Usage:

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

Related Functions

The following functions may be useful, as they are related to this function in one way or another.

Personal tools
Navigation
Toolbox
In other languages