DirkScripts Logo

Login With FiveM

Login

📚 Dirk Lib
â€ē
Modules
â€ē

request

Request

â„šī¸ Client Module - This can only be used on the client

All request functions accept a single value or a table of values. Default timeout is 20 seconds. Assets are automatically released when the resource stops.

lib.request.model

Load a model

lua
local success = lib.request.model(model, timeout)
ParameterTypeRequiredDescription
modelstring | tableyesModel(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.animDict

Load an animation dictionary

lua
local success = lib.request.animDict(dict, timeout)
ParameterTypeRequiredDescription
dictstring | tableyesAnimation dictionary(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.animSet

Load an animation set (movement clipset)

lua
local success = lib.request.animSet(set, timeout)
ParameterTypeRequiredDescription
setstring | tableyesAnimation set(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.streamedTextureDict

Load a streamed texture dictionary

lua
local success = lib.request.streamedTextureDict(txd, timeout)
ParameterTypeRequiredDescription
txdstring | tableyesTexture dictionary(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.ptfxAsset

Load a particle effect asset

lua
local success = lib.request.ptfxAsset(asset, timeout)
ParameterTypeRequiredDescription
assetstring | tableyesPTFX asset(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.audioBank

Load an audio bank

lua
local success = lib.request.audioBank(bank, timeout)
ParameterTypeRequiredDescription
bankstring | tableyesAudio bank(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.scaleFormMovie

Load a scaleform movie

lua
local success = lib.request.scaleFormMovie(movie, timeout)
ParameterTypeRequiredDescription
moviestring | tableyesScaleform movie(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.weaponAsset

Load a weapon asset

lua
local success = lib.request.weaponAsset(asset, timeout)
ParameterTypeRequiredDescription
assetstring | tableyesWeapon asset(s) to load
timeoutnumbernoTimeout in seconds (default 20)

lib.request.entity

Wait for an entity to exist in the game world

lua
local success = lib.request.entity(entity, timeout)
ParameterTypeRequiredDescription
entitynumberyesEntity handle to wait for
timeoutnumbernoTimeout in seconds (default 20)

Copyright Š 2026 DirkScripts.

Not affiliated with or endorsed by Rockstar North, Take-Two Interactive, or any other rights holders. FiveM is a copyright and registered trademark of Take-Two Interactive Software, Inc.
Our checkout system is provided by Tebex Limited, who manage payment processing, product delivery, and billing support. Prices shown in currencies other than GBP are approximate conversions updated daily. All purchases are processed in GBP, so the final amount charged may vary depending on your bank or payment provider’s exchange rate.

Daily dig available!

Hey you, you have free digs waiting

Dig Now