⚡Exports/Events
Open Menu
TriggerEvent("rd-animations:OpenMenu")This event open menu.
Cancel Animation
TriggerEvent("rd-animations:StopAnimation")This event cancels the animations
SetCanPlayAnimation
exports['r_animations']:SetCanPlayAnimation(false)This export allows or disallows playing animations.
CanPlayAnimation
exports['r_animations']:CanPlayAnimation()This export show that is player allowed to play animations based on the previous export.
IsPlayingAnimation
exports['r_animations']:IsPlayingAnimation()This export shows if the player is currently playing the animation.
StartAnimationPlay
This export start animation for player. Example:
SetCanCancelAnimation
This export allows or disallows canceling animations.
GetAnimationFromSet
This export return animation from set. Example:
StopAnimation
This export return cancels the animations
Last updated