warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
IsValidAnimationLibrary
warning
This function was added in omp v1.1.0.2612 and will not work in earlier versions!
Description
Checks if the given animation library is valid.
Name | Description |
---|---|
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
}
Related Functions
- ApplyAnimation: Apply an animation to a player.