EnableAllAnimations
vigyázat
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
tanács
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.