LV Soft FiveM
  • LV SOFT
    • 👋Welcome!
    • 🛒Tebex
    • 💬Discord
  • QB/ESX
    • ☮️lvs-loading
      • Installation
      • Configuration
    • 👫lvs-multichar
      • Installation
      • Configuration
      • Adding Scenes
      • Tebex Integration
      • Commands
    • 🗺️lvs-spawnselector
      • Installation
      • Configuration
    • 🥼lvs-clothing
      • Installation
        • QBCore Install
        • ESX Install
      • Configuration
      • Migration
        • qb-clothing
        • esx-skinchanger
        • Illenium-Appareance
      • Blacklisting
      • Events
      • Commands
    • ⚙️lvs-lib
      • black-screen loading
      • notifications
      • progressbar
      • key-interaction
      • textui
      • alert
      • context menu
      • context input
    • 💬lvs-chat
      • Installation
      • Configuration
      • Events & Exports
    • 📱lvs-radio
      • Installation
      • Configuration
      • Events & Exports
    • 🗃️lvs-playerlist
      • Installation
      • Configuration
    • 📹lvs_weazelnews
      • Installation
      • Configuration
    • 🎒lvs-inventory
      • Installation
      • Configuration
      • lvs-inventory
        • exports
      • lvs-shops
        • Configuration
        • Exports
      • lvs-crafting
    • 🪪lvs-idmanager
      • Installation
      • Configuration
      • Exports
  • Standalone
    • 🚘lvs-drift
      • Installation
      • Configuration
      • Commands
    • 🕺lvs-animations
      • Installation
      • Configuration
      • Adding Animations
      • Exports/Events
    • 💥lvs-accident
      • Installation
      • Configuration
    • 🔥lvs-explosion
      • Installation
      • Configuration
    • 🏎️lvs-racing
  • ESX
    • 📅Soon
Powered by GitBook
On this page
  • Events
  • Open Menu
  • Cancel Animation
  • Exports
  • SetCanPlayAnimation
  • CanPlayAnimation
  • IsPlayingAnimation
  • StartAnimationPlay
  • SetCanCancelAnimation
  • GetAnimationFromSet
  • StopAnimation
  1. Standalone
  2. lvs-animations

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.

exports.lvs_animations:CanPlayAnimation()

IsPlayingAnimation

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

exports.lvs_animations:IsPlayingAnimation()

StartAnimationPlay

This export start animation for player.

exports.lvs_animations:StartAnimationPlay(animation)
-- Example:
-- exports.lvs_animations:StartAnimationPlay('dance2')

SetCanCancelAnimation

This export allows or disallows canceling animations.

exports.lvs_animations:SetCanCancelAnimation(false)

GetAnimationFromSet

This export return animation from set

exports.lvs_animations:GetAnimationFromSet(setnumber, animnumber)
-- Example:
-- exports.lvs_animations:GetAnimationFromSet(1, 2)
-- return

StopAnimation

This export cancels the animations

exports.lvs_animations:StopAnimation()
PreviousAdding AnimationsNextlvs-accident

Last updated 1 year ago

🕺