Skip to content

Commit

Permalink
Removed Debug comments
Browse files Browse the repository at this point in the history
  • Loading branch information
trclassic92 authored Sep 26, 2024
1 parent d16e943 commit f328743
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/cl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ RegisterNetEvent('tr-lumberjack:client:workvan', function()
DoScreenFadeIn(1500)

PlayerWorkVans[playerId] = PlayerWorkVans[playerId] or {}
PlayerWorkVans[playerId][vanPlate] = { vehicle = JobVehicle, trailer = nil } -- Store trailer reference as well
PlayerWorkVans[playerId][vanPlate] = { vehicle = JobVehicle, trailer = nil }

RequestModel(trailer)
if not IsModelInCdimage(trailer) or not IsModelAVehicle(trailer) then
Expand All @@ -170,7 +170,7 @@ RegisterNetEvent('tr-lumberjack:client:workvan', function()
SetVehicleNumberPlateText(JobTrailer, trailerPlate)
SetEntityAsMissionEntity(JobTrailer, true, true)

PlayerWorkVans[playerId][vanPlate].trailer = JobTrailer -- Store trailer reference
PlayerWorkVans[playerId][vanPlate].trailer = JobTrailer

SetNewWaypoint(waypointCoords2.x, waypointCoords2.y)

Expand Down Expand Up @@ -252,7 +252,6 @@ local function startCameraTask(targetPos, targetRot, dialogMessages)
NotifyPlayer(dialogMessages[2], 'primary')
Wait(3500)

-- Return camera to player
local returnStartTime = GetGameTimer()
while true do
local returnElapsedTime = GetGameTimer() - returnStartTime
Expand Down

0 comments on commit f328743

Please sign in to comment.