Utilizing the C.H.A.S.E.R chase cam
Utilizing the C.H.A.S.E.R chase cam, involves creating a command or script to execute the export to enable the racing camera. In order to create a command to enable/disable C.H.A.S.E.R racing camera, create a lua resource and paste the following code:
local chaser = exports['legacydmc_chaser']
RegisterCommand("enableracingcam", function()
if chaser:chaser_getloadstatus() then
chaser:chaser_startcamera()
end
end, false)
RegisterCommand("disableracingcam", function()
if chaser:chaser_getloadstatus() then
chaser:chaser_stopcamera()
end
end, false)
Last updated