How to remove Special-Ability Boost from add-on Cars?

Hey,
I tried to put this car on my server,

The car has something like the rocket-voltic boost, I already deleted the flag in the vehicles.meta tho this didn’t seem to delete the boost ability.

Does anyone know how to remove it ??

You can try this, client side :

DisableBikeWings = true --false to use wings on bikes (like oppressor)/true to NOT use

DisableVehicleRocket = true --false to activated the “Rocket Boost” (turbine) and boost/true to NOT activate

DisableVehicleJump = true – false to activate car jumps/true to NOT activate car jumps (like K2000)

DisableVehicleTransform = true --false to activate “transformation” (deluxo for example)/true to NOT activate it

DisableVehicleWeapons = true --false to activate car weapons/true to NOT activate it

Citizen.CreateThread(function()

while true do

    local playerped = PlayerPedId()
     local vehicle  =   GetVehiclePedIsIn(playerped, true)

    if IsPedInAnyVehicle(playerped, false) then

        if DisableBikeWings then

            DisableControlAction(0, 354, true)

        end

        if DisableVehicleRocket then

            DisableControlAction(0, 351, true)
            setvehicleboostactive(vehicle, 0, 0)


        end

        if DisableVehicleJump then

            DisableControlAction(0, 350, true)

        end

        if DisableVehicleTransform then

            DisableControlAction(0, 357, true)

        end

       

        local veh = GetVehiclePedIsUsing(playerped)

        if DoesVehicleHaveWeapons(veh) == 1 and DisableVehicleWeapons and vehicleweaponhash ~= 1422046295 then

            vehicleweapon, vehicleweaponhash = GetCurrentPedVehicleWeapon(playerped)

            if vehicleweapon == 1 then

                DisableVehicleWeapon(true, vehicleweaponhash, veh, playerped)

                SetCurrentPedWeapon(playerped, GetHashKey("weapon_unarmed"))

            end

        end

    end

    Citizen.Wait(0)

end

end)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.