EnableAllAnimations
Upozorenje
Dodano u verziji omp v1.1.0.2612. Ova stavka ne radi u starijim verzijama. Vrsta: funkcija.
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
Savjet
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.