#ANTI WEAPON GIVE WHEN ENTER POLICE VEHICLES

16 messages · Page 1 of 1 (latest)

lusty axle
#
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(1)
        id = PlayerId()
        DisablePlayerVehicleRewards(id)    
    end
end)
undone sky
#

where do we put that snippet at?

#

also thank you for this!!!

lusty axle
#

Any client side

lusty axle
#

Or create new .lua and put it in **qb-smallresources/client **

woven wigeon
#

Nice

wooden chasm
#

bruuuuuuh... I needed this because I have a LSPD Panto which give you a sniper kekw

sterile pivot
#

Why?

This is a thread that run constantly, SUPER BAD!!!!

Go to each car that gives you the gun, find the .meta file and remove the rewards from there - done.

wheat patio
green wyvern
#

Pull them from open iv

#

Or from codewalker rpf explorer

jolly fossil
#

Why do that ? Qbcore have an option to disable car rewards

lusty axle
jolly fossil
#

qb-smallresources

#
Config.RemoveWeaponDrops = true

#

I never looted any weapon from cars using that, maybe is just coincidence, but you should try