Functions

Import

You will need to call the import below to import this into your script you will more than likely want to impot in your first shared file e.g config.lua if you are sharing this with client and server this way you will have access to all functions in both client and server


Core, Settings = exports['dirk-core']:getCore()


--// Client 
CreateThread(function()
    while not Core do Wait(500); end
    while not Core.Player.Ready() do Wait(500); end

    ---// Start our script here e.g add our targets or do job checks etc
end)


Last updated