Skip to content

Commit

Permalink
Update delivery.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
PenguScript authored Apr 2, 2024
1 parent 285c2a5 commit cb086d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/delivery.lua
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ RegisterNetEvent('pengu_gruppe6delivery:StartFirstJob', function(args)
TriggerEvent('pengu_gruppe6delivery:Notify', "Go to the vehicle with the marker above it!", "There's an orange marker above the vehicle you are going to use.", "primary", 4000)
local vehicle = args["veh"]
DoingDeliveries = true
TriggerServerEvent("qb-vehiclekeys:server:AcquireVehicleKeys", plate)
TriggerServerEvent("qb-vehiclekeys:server:AcquireVehicleKeys", args["plate"])
while not IsPedSittingInAnyVehicle(cache.ped or PlayerPedId()) and DoingDeliveries == true do
DrawMarker(2, args["vec"].x, args["vec"].y, args["vec"].z+3.65, 0.0,0.0,0.0,0.0,180.0,0.0,1.0,1.0,1.0,255,165,0,70,true,false, 2, true, nil, nil, false)
Wait(1)
Expand Down

0 comments on commit cb086d9

Please sign in to comment.