Exports

17 Exports is specified here for clearly integrate our animation menu into another scripts

Exports

-- UI
exports.sm_animmenu:OpenMenu()
exports.sm_animmenu:OpenWheel()
 
-- Animations
exports.sm_animmenu:PlayAnimation('wave')
exports.sm_animmenu:CancelAnimation()
local active = exports.sm_animmenu:IsAnimationPlaying()
local key, data = exports.sm_animmenu:GetCurrentAnimation()
local animation = exports.sm_animmenu:GetAnimation('wave')
 
-- Permissions
exports.sm_animmenu:SetCanEmote(true)
exports.sm_animmenu:SetCanCancel(true)
 
-- Personal Shift + 1-5 assignments
local slots = exports.sm_animmenu:GetHotkeySlots()
 
-- Movement state
local busy = exports.sm_animmenu:IsMovementActionActive()
local crouched = exports.sm_animmenu:IsPlayerCrouched()
local prone = exports.sm_animmenu:IsPlayerProne()
local crawling = exports.sm_animmenu:IsPlayerCrawling()
local handsUp = exports.sm_animmenu:IsPlayerInHandsUp()
local kneelingHandsUp = exports.sm_animmenu:IsPlayerKneelingHandsUp()
local pointing = exports.sm_animmenu:IsPlayerPointing()
local movingBackwards = exports.sm_animmenu:IsBackwardsMovementActive()