Exports
The InHelicam client export in Helicopter Camera returns true while the local player is looking through the camera.
Helicopter Camera has one client-side export.
| Export | Returns | Parameters | What it tells you |
|---|---|---|---|
InHelicam | boolean | none | true while the local player is looking through the camera |
Example
lua
if exports.fz_helicam:InHelicam() then
-- the player is in the camera, e.g. skip drawing your own HUD this frame
endStill stuck?Ask on our Discord