Home - Roids-Dev/twprp_wljobchanger GitHub Wiki

Templates

  • main_cl.lua job command template
-------------------------------------------------
-- JOB NAME --
-------------------------------------------------
RegisterCommand('job_command', function()
    local job1 = job_name
    local job2 = 'job_name'
    TriggerServerEvent('wlcheck', job1, job2)
end)
-------------------------------------------------
-- /JOB NAME --
-------------------------------------------------

Here's an example

-------------------------------------------------
-- BANKER --
-------------------------------------------------
RegisterCommand('banker', function()
    local job1 = banker
    local job2 = 'banker'
	TriggerServerEvent('wlcheck', job1, job2)
end)
-------------------------------------------------
-- /BANKER --
-------------------------------------------------
  • config.lua Job table template
----- JOB NAME -----
jobname =
{
	"steam:id64hex",--"Username"
	"steam:id64hex",--"Username"	
}
-----/JOB NAME -----

Here's an example

----- BANKER -----
jobname =
{
	"steam:110007588841dd0",--"Roids#9759"
	"steam:id64hex",--"Username"	
}
-----/BANKER -----