EnableAllAnimations
cảnh báo
Đã thêm hàm trong phiên bản omp v1.1.0.2612. Mục này không hoạt động trên các phiên bản cũ hơn!
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
mẹo
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.