# 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:<br>

```lua
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)

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://legacydmc.gitbook.io/chaser/fundamentals/utilizing-the-c.h.a.s.e.r-chase-cam.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
