[Release] Heli Script

How can i change it so it will work on a diffent helli?

u just need to chand in the client the name of the heli u want

This drove me nuts but I found it rather quickly. Change this line:

        new_x = math.max(math.min(20.0, rotation.x + rightAxisY * -1.0 * (speed_lr) * (zoomvalue + 0.1)), -89.5) -- Clamping at top (cant see top of heli) and at bottom (doesn't glitch out in -90deg)

to this

        new_x = math.max(math.min(20.0, rotation.x + rightAxisY * 1.0 * (speed_lr) * (zoomvalue + 0.1)), -89.5) -- Clamping at top (cant see top of heli) and at bottom (doesn't glitch out in -90deg)

maybe you can spot the difference :wink:

1 Like

How can the direction of light be changed?؟؟

1 Like

how do i make it so I can use this script on other heli

u just need to change the vehicule hash in the client

can you send me an example because I did that and it still doesn’t work


here put the hash of the vehicule

it works thanks

is there a way I could change the LSPD to LAPD

You can’t Rappel from Buzzard? or is there any fix

doesn’t work for me, weird

show me the client.lua pls

Here’s the declaration, and variables inside of the function

local polmav_hash = GetHashKey("polmav")
local maverick_hash = GetHashKey("maverick") -- Maverick
local buzzard_hash = GetHashKey("buzzard") -- Buzzard
local buzzard2_hash = GetHashKey("buzzard2") -- Buzzard2 (without guns)
local valkyrie_hash = GetHashKey("valkyrie") -- Valkyrie
local frogger_hash = GetHashKey("frogger") -- Frogger
local frogger2_hash = GetHashKey("frogger2") -- Frogger2 (Trevor's Version)
local mh6_hash = GetHashKey("mh6")
local IsMH6 = IsVehicleModel(vehicle, mh6_hash)
    local isCorrect = false
    if( IsPolmav or IsMaverick or IsBuzzard or IsBuzzard2 or IsValkyrie or IsFrogger or IsFrogger2 or IsMH6) then
        isCorrect = true
    end
	return isCorrect

heli_client.lua (27.5 KB)

1 Like

hum dont see the error

there’s no error, it just says “rappel”, but not rappeling

Does this work with LSPDFR?

1 Like

Hey, is it possible to have a different helicopter in place instead of the polmav?

Script works perfetly fine for our Use :slight_smile:
But i have a question. Is there a possibility to deactivate the Thermal Vision.

Wen only want to use normal camera und nightvision.
Havent found a solution to this :slight_smile:
Tanks a Lot

It doesn’t work for me, unfortunately. I placed the script in the resources folder and then in the server.cfg. Furthermore, I try to press different buttons when I’m in a helicopter, but nothing happens at all. Or could it be that this is only possible with a co-pilot.