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
1 Like
how can you find out which weapon slot to use? so that you can then use
Arielz
5
Hi
, 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.
sheen
7
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
sheen
9
Try to use numbers from 0 and test it out.
tbh i’m not sure…
Arielz
10
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.
Arielz
11
Or you can even do what is written over here by the natives.
You know I just give some suggestions
.
Mailar
12
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)
1 Like
tbsw0w
13
Hello together,
can you tell me what i need to write behind vehicle in the SetVehicleWeaponsDisabled function?
I need the vehicle Name or the vehicle Hash?