Frozen Wiki
Website
  • Documentation
  • 🔹Scripts
    • Frozen Medic Job
      • Installation
      • Dependencies
      • Exports
      • State Bags
      • Customizations
      • Common Issues
        • QBCore
    • Frozen Crutch
    • Frozen Scratch Ticket
      • Installations
    • Frozen Police Job
      • Installation
      • Dependencies
      • Exports
      • State Bags
      • Events
      • Customizations
    • Frozen Inventory
      • Features
      • Examples
      • Dependencies
      • Installation
        • v1.2 installation
    • Helicopter Camera
      • Adding custom helicopters
      • Moving the UI above the minimap
      • Adding controller inputs
      • Exports
      • Events
    • Frozen Poker
      • Installation
      • Dependencies
    • Frozen Fishing
      • Installation
      • Dependencies
      • Shop Items
      • Fishing Equipment Strength
    • Frozen Gym
      • Installation
      • Exports
        • Client Exports
        • Server Exports
  • 🔓Authorization
    • How to get authorized with license system?
Powered by GitBook
On this page
  1. Scripts
  2. Helicopter Camera

Events

There are 2 events intended to be used by external scripts, these are helicam:enteredCamera and helicam:leftCamera. Both events are fired on the client that opens the camera. Both events have 1 parameter, netId which is the network id of the helicopter. These events can for example be used to toggle the hud.

Examples

AddEventHandler('helicam:enteredCamera', function(netId)
    print("Local player entered camera of helicopter with network id: "..tostring(netId))
end)

AddEventHandler('helicam:leftCamera', function(netId)
    print("Local player left camera of helicopter with network id: "..tostring(netId))
end)
PreviousExportsNextFrozen Poker

Last updated 1 year ago

🔹