Remove all vehicle weapons possible?

Hello,

is it possible through a script that all weapons on vehicles lose function? I would like all vehicles to have no weapons. I have already searched for it and tried around but I have not come to the result. does anyone know something?

Thanks

Kind regards

Not sure about it, since I haven’t tryied it yet, but this might be the native you are looking for

how can you find out which weapon slot to use? so that you can then use

Hi :wave:, maybe this script can help you: [Release] Model Blacklist v1.1
Give it a try and let me know.
Also look at the replies there, some people shared their codes just in case if the script is not working for you.

You will just have to make some changes to the code.

hey, thanks for your suggestion.
Unfortunately that’s not what I’m looking for as complete vehicles are blacklisted that’s not what I want to do. ^^

I want to disable the weapons function. There are a few nice default cars that can shoot ladder.

To disable receiving weapons from vehicles.

To disable vehicle weapons.

how can you find out which weapon slot to use? so that you can then use

Try to use numbers from 0 and test it out.
tbh i’m not sure…

I was meaning that you can use some parts of the codes there to disable the weapons in any vehicle with the given natives here.

Or you can even do what is written over here by the natives.
You know I just give some suggestions :+1:.

Paste this on client side

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(1000)
        local playerPed = GetPlayerPed(-1)
        if IsPedInAnyVehicle(playerPed, false) then
            DisablePlayerVehicleRewards(playerPed)
        end
    end
end)