warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
UsePlayerPedAnims
Description
Uses standard player walking animation (animation of the CJ skin) instead of custom animations for every skin (e.g. skating for skater skins).
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.
tip
You can also enable standard player walking animation via config.json
"use_player_ped_anims": true,
Related Functions
- ApplyAnimation: Apply an animation to a player.
- ClearAnimations: Clear any animations a player is performing.