mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Fix condition
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user