Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
[Fixes #17] only hide exit marker after tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
lfuelling authored May 8, 2020
1 parent a297f92 commit 6107021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/missions/tutorial.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function _tutorialLogic()
TriggerEvent('esx_phone:addSpecialContact', omegaContact.name, omegaContact.number, omegaContact.base64Icon)
numberAdded = true
end
if not tutorialDone then
if not isHacker() then
drawGenericMarker(Locations.CommRoom.Exit.x, Locations.CommRoom.Exit.y, Locations.CommRoom.Exit.z - 1.0001)

if GetDistanceBetweenCoords(Locations.CommRoom.Exit.x, Locations.CommRoom.Exit.y, Locations.CommRoom.Exit.z, GetEntityCoords(PlayerPedId(), true)) < 2 then
Expand Down Expand Up @@ -84,4 +84,4 @@ function _tutorialLogic()
tutorialFinished = true
TriggerEvent(eventNamespace .. "getNextTriggerTime")
end
end
end

0 comments on commit 6107021

Please sign in to comment.