Commands & Exports
There's currently a few commands that serve some importance and two of them may or may not be disabled unless your configuration permits them.
Last updated
There's currently a few commands that serve some importance and two of them may or may not be disabled unless your configuration permits them.
Last updated
/gettraileroffsetexports["gs-trucking"]:IsJobActive()--- @return table | nil {name = string, description = string, departure = vector3, destination = vector3 | nil}
local CurrentJob = exports['gs-trucking']:JobInfo()
if CurrentJob then
print('Job Name:', CurrentJob.name)
print('Job Description:', CurrentJob.description)
print('Job Departure:', CurrentJob.departure)
if CurrentJob.destination then
print('Job Destination:', CurrentJob.destination)
end
end