note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
EnableAllAnimations
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Allow use of the animations missing from some versions.
Name | Description |
---|---|
bool:enable | 'true' to enable missing animations or 'false' to disable them. |
Returns
This function does not return any specific values.
Examples
public OnGameModeInit()
{
EnableAllAnimations(true);
return 1;
}
Notes
tip
You can also enable or disable missing animations from the config.json file.
"use_all_animations": false,
Related Functions
- AreAllAnimationsEnabled: Are the animations missing from some versions enabled?
- ApplyAnimation: Apply an animation to a player.
- ClearAnimations: Clear any animations a player is performing.