Skip to content

Commit

Permalink
Update main.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Gellipapa authored Jan 20, 2024
1 parent 31b2c41 commit 8e2a48a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ local LastVehicleHealth = nil

function DrawMissionText(msg, time)
ClearPrints()
BeginTextCommandPrint('STRING')
AddTextComponentSubstringPlayerName(msg)
BeginTextCommandPrint('STRING')
AddTextComponentSubstringPlayerName(msg)
EndTextCommandPrint(time, true)
end

Expand All @@ -34,7 +34,7 @@ function StartTheoryTest()
end

function StopTheoryTest(success)
CurrentTest = nil
CurrentTest = nil

SendNUIMessage({
openQuestion = false
Expand All @@ -54,8 +54,8 @@ function StartDriveTest(type)
ESX.Game.SpawnVehicle(Config.VehicleModels[type], vector3(Config.Zones.VehicleSpawnPoint.Pos.x, Config.Zones.VehicleSpawnPoint.Pos.y, Config.Zones.VehicleSpawnPoint.Pos.z), Config.Zones.VehicleSpawnPoint.Pos.h, function(vehicle)
CurrentTest = 'drive'
CurrentTestType = type
CurrentCheckPoint = 0
LastCheckPoint = -1
CurrentCheckPoint = 0
LastCheckPoint = -1
CurrentZoneType = 'residence'
DriveErrors = 0
IsAboveSpeedLimit = false
Expand Down

0 comments on commit 8e2a48a

Please sign in to comment.