Exports/Events

Events

Open Menu

This event open menu.

TriggerEvent('lvs_animations:client:OpenMenu')

Cancel Animation

This event cancels the animations

TriggerEvent('lvs_animations:client:StopAnimation')

Exports

All exports are client-sided

SetCanPlayAnimation

This export allows or disallows playing animations.

exports.lvs_animations:SetCanPlayAnimation(false)

CanPlayAnimation

This export show that is player allowed to play animations based on the previous export.


IsPlayingAnimation

This export shows if the player is currently playing the animation.


StartAnimationPlay

This export start animation for player.


SetCanCancelAnimation

This export allows or disallows canceling animations.


GetAnimationFromSet

This export return animation from set


StopAnimation

This export cancels the animations

Last updated