[Standalone] [Paid] Helicopter Camera

Howdy, love the script but do you know of anyway to disable a CodeM - BlackHUDV2 when entering the camera?

It hasn’t been fixed yet. It’s on the list, I’ll get it fixed in the next update. Until then, you can change the control in the client.lua file.

I tried to look through their documentation, and sadly I don’t see any events/exports that could be used to hide the HUD. You will likely need to contact the creator directly to know if it’s possible. If you do end up hearing back from them, you can use the following events from the helicam script like so:

AddEventHandler('helicam:enteredCamera', function(netId)
    -- add an event/export to hide the hud
end)

AddEventHandler('helicam:leftCamera', function(netId)
    -- add an event/export to show the hud
end)

there’s native called ‘DRAW_CORONA 0xFF44780E’ maybe this would work

description in fivem native docs says “Allows drawing advanced light effects, known as coronas, which support flares, volumetric lighting, and customizable glow properties.”

example
local pedCoords = GetEntityCoords(PlayerPedId())
Citizen.CreateThread(function()
while true do
DrawCorona(pedCoords.x, pedCoords.y, pedCoords.z, 5.0, 255, 255, 255, 255, 4.0, 0.2, pedCoords.x, pedCoords.y, pedCoords.z, 1.0, 0.0, 90.0, 2)
Wait(0)
end
end)

Hey yeah, I saw that, it was added pretty recently to fivem, I just haven’t gotten around to adding it in to the helicam script.

I am having an issue with the camera modes and spotlight not working on addon helicopters even with all the global restrictions removed. All helos should be able to use flir, night vision and spotlight. Yet none of the addons work.

Try to add the helicopters to the Config.Helicopters table in the config.lua file and see if that works.

Update 1.1.0

First update in a long time. Introduces some much needed bug fixes and improvements.

Changelog

  • Added experimental support for coronas to be drawn by helicopters while using a spotlight
  • Fixed the issue where camera controls would conflict with pilot controls while using a controller
  • Corrected control instruction for toggling the spotlight
  • Changed some TaskRappelFromHeli flags to attempt a fix for the rappelling issues with ragdolling
  • Added more checks to the rappelling logic
  • The script now only adds a chat suggestion for /rappel if rappelling is enabled in the configs
  • Fixed the issue where you could see markers from other helicopters
  • Added a check on the server to prevent malicious clients from setting other state bags than the script intends to.
  • Added all new gta dlc vehicles to the numberplates file
  • Added code to estimate vehicle plate setup if none was specified in the list
  • Added additional checks around the tablet object to prevent attempting to delete non-existent objects
  • The UI will now receive updates on the in-game time regardless of whether any other data needs to be sent
  • Model/anims will now unload when no longer needed
  • Added support for mod liveries
  • Added a check to see if the helicopter still exists when entering the helicam, preventing getting stuck in low-lod world when the helicopter gets deleted at the same time as you enter the helicam (for people “parking” the helicopter using the same key as opening the camera)
  • Refactored a bunch of code here and there
2 Likes

Added experimental support for coronas to be drawn by helicopters while using a spotlight

can you make a video showcasing this please? it would help convince server owner to use this helicam script instead different script they’re using now

Hello. Sorry for the late reply. I’m working on a 2.0 (rewrite) of the script, I will make a walkthrough video when it’s out (soon™).