DirkScripts
lua--## Used instead of playerLoaded events Citizen.CreateThread(function() while not Core do Wait(500); end while not Core.Player.Ready() do Wait(500); end print('Hello World') --## This print will execute when the player has gotten past the multi-char and is in-game end)
lualocal myJob = Core.Player.Job() --[[ returns; { name = "job_name", label = "Job Label", rank = 2, rankL = "Rank Label", duty = true, isBoss = false, isCop = true, } ]]
lualocal characterID = Core.Player.Identifier() --## Returns characterID dependant on framework e.g QBCore - CitizenID | ESX - CharID
lualocal gangName = Core.Player.Gang() --## Will simply return gang_name if using qb-core. May add rcore_gangs support
lualocal isCop = Core.Player.IsCop() --## Returns true if player is a cop
lualocal myJob = Core.Player.GetJob() --## Will return the same as Core.Player.Job() but will make sure table is up to date by gathering the job
luaAddEventHandler("Dirk-Core:JobChange", function(job) --## job; is the same return as GetJob() and Job() this event will run if the framework fires the job change event end)
luaCore.Player.PlayAnim({ ent = entity, dict = "anim_dict", anim = "anim_name", freeze = true, time = 10000, }) --## This will load the anim dict for you

Powered by
All you need for your FiveM server
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