MSK Scripts
TebexGithubDiscordMusiker15
  • MSK Scripts
    • Welcome
  • Common Issues
    • Keymaster
  • Miscellaneous
    • Change Notifications
  • Scripts
    • MSK Core
      • Installation
      • Functions
        • Client
          • Ace Permission
          • Commands
          • Coords
          • Player
          • Points
          • Request
          • Scaleform
          • UI
            • Input
            • Numpad
            • Progressbar
            • TextUI
          • Vehicle
        • Shared
          • String
          • Math
          • Table
          • Timeout
          • Vector
        • Server
          • Ace Permission
          • Ban System
          • Commands
          • Player
          • Scaleform
          • UI
            • Input
            • Numpad
            • Progressbar
            • TextUI
    • MSK Banking
      • Installation
        • Paycheck Transaction
      • Config
      • Exports
        • Client
        • Server
      • Events
        • Client
        • Server
      • Server Callbacks
    • MSK EngineToggle
      • Guides
      • Exports
        • Client
      • Event Handler
        • Client
        • Server
    • MSK Fuel
      • Config
      • Exports
        • Client
    • MSK Garage
      • Config
      • Exports
        • Client
    • MSK Handcuffs
      • Guides
        • General Edits for Jobs
        • Jaksam Job Creator
        • Multichar
        • ox_inventory
      • Config
      • Admin Commands
      • Exports
        • Client
        • Server
      • Events
        • Client
        • Server
      • Event Handlers
    • MSK Radio
      • Config
      • Exports
        • Client
        • Server
      • Events
        • Server
    • MSK Simcard
      • Installation
        • Config.Database
      • Config
    • MSK VehicleKeys
      • Guides
        • Installation
        • Integrations
      • Config
      • Admin Commands
      • Exports
        • Client
        • Server
    • MSK Whitelist
      • Config
      • Exports
        • Client
        • Server
    • MSK Weaponammo
Powered by GitBook
On this page
  • MSK.Request.AnimDict
  • MSK.Request.AnimSet
  • MSK.Request.Model
  • MSK.Request.PtfxAsset
  • MSK.Request.TextureDict
  1. Scripts
  2. MSK Core
  3. Functions
  4. Client

Request

MSK.Request.AnimDict

Loads the given animation dictionary

Parameters animDict - string - The dictionary

Returns animDict - string - The given animation dictionary

MSK.Request.AnimDict(animDict)

-- Example: 
MSK.Request.AnimDict("cellphone@")

-- As an Export:
exports.msk_core:RequestAnimDict(animDict)

MSK.Request.AnimSet

Loads the given animation set

Parameters animSet - string - The animation set

Returns animSet - string - The given animation set

MSK.Request.AnimSet(animSet)

-- As an Export:
exports.msk_core:RequestAnimSet(animSet)

MSK.Request.Model

Loads the given model

Parameters model - number - The Hash of the model

Returns model - number - The given model

MSK.Request.Model(model)

-- Example 1
MSK.Request.Model(`prop_cs_hand_radio`)

-- Example 2
MSK.Request.Model(GetHashKey("prop_cs_hand_radio"))

-- As an Export:
exports.msk_core:RequestModel(model)

MSK.Request.PtfxAsset

Loads the given animation set

Parameters ptFxName - string - The ptFxName Asset

Returns ptFxName - string - The given ptFxName Asset

MSK.Request.PtfxAsset(ptFxName)

-- As an Export:
exports.msk_core:RequestPtfxAsset(ptFxName)

MSK.Request.TextureDict

Loads the given animation set

Parameters textureDict - string - The Texture Dictionary

Returns textureDict - string - The given Texture Dictionary

MSK.Request.TextureDict(textureDict)

-- As an Export:
exports.msk_core:RequestTextureDict(textureDict)

Last updated 7 months ago