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