Fix taxi mission crash

This commit is contained in:
Jérémie N'gadi
2017-08-17 09:43:41 +02:00
parent 9f73945dc6
commit 8015a0620c
+3 -1
View File
@@ -573,7 +573,9 @@ Citizen.CreateThread(function()
end
DrawMarker(1, TargetCoords.x, TargetCoords.y, TargetCoords.z - 1.0, 0, 0, 0, 0, 0, 0, 4.0, 4.0, 2.0, 178, 236, 93, 155, 0, 0, 2, 0, 0, 0, 0)
if TargetCoords ~= nil then
DrawMarker(1, TargetCoords.x, TargetCoords.y, TargetCoords.z - 1.0, 0, 0, 0, 0, 0, 0, 4.0, 4.0, 2.0, 178, 236, 93, 155, 0, 0, 2, 0, 0, 0, 0)
end
else