Fix condition

This commit is contained in:
Jérémie N'gadi
2017-08-16 16:55:24 +02:00
parent c83be91687
commit 4b0173ff82
+1 -1
View File
@@ -213,7 +213,7 @@ function OpenVehicleSpawnerMenu(station, partNum)
local vehicle = GetClosestVehicle(vehicles[partNum].SpawnPoint.x, vehicles[partNum].SpawnPoint.y, vehicles[partNum].SpawnPoint.z, 3.0, 0, 71)
if DoesEntityExist(vehicle) then
if not DoesEntityExist(vehicle) then
local playerPed = GetPlayerPed(-1)