Chuyển tới nội dung chính

IsValidAnimationLibrary

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​

Checks if the given animation library is valid.

NameDescription
const name[]The animation library name to check.

Returns​

Returns true if the animation library is valid, otherwise false.

Examples​

if (IsValidAnimationLibrary("PED"))
{
// Animation library is valid
}
else
{
// Animation library is not valid
}