跳到主要內容

IsValidAnimationLibrary

注意

此函式於 omp v1.1.0.2612 版本中新增,在更早的版本中無法使用!

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
}