-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Players still cannot shoot each other whilst in a vehicle.
Lines 224 to 240 in 0a5dc4a
| -- set players in vehicle shootable | |
| Citizen.CreateThread(function() | |
| while true do | |
| Citizen.Wait(1) | |
| local ped = PlayerPedId() | |
| if IsPedInAnyVehicle(ped) then | |
| local veh = GetVehiclePedIsIn(ped) | |
| local seats = GetVehicleModelNumberOfSeats(veh) | |
| for i = 1, seats do | |
| local vehPed = GetPedInVehicleSeat(veh, i - 2) | |
| if vehPed ~= 0 then | |
| SetPedCanBeShotInVehicle(vehPed, true) | |
| end | |
| end | |
| end | |
| end | |
| end) |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working