Skip to content
This repository was archived by the owner on Feb 14, 2022. It is now read-only.

Pound cooldown fix #153

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -241,14 +241,14 @@ function ReturnOwnedAmbulanceMenu()
else
SpawnVehicle(data.current.value, data.current.value.plate)
TriggerServerEvent('esx_advancedgarage:payAmbulance')
WasinJPound = true
end
else
ESX.ShowNotification(_U('not_enough_money'))
end
end)
end, function(data, menu)
menu.close()
WasinJPound = true
end)
end)
end
Expand Down Expand Up @@ -430,14 +430,14 @@ function ReturnOwnedPoliceMenu()
else
SpawnVehicle(data.current.value, data.current.value.plate)
TriggerServerEvent('esx_advancedgarage:payPolice')
WasinJPound = true
end
else
ESX.ShowNotification(_U('not_enough_money'))
end
end)
end, function(data, menu)
menu.close()
WasinJPound = true
end)
end)
end
Expand Down Expand Up @@ -578,14 +578,14 @@ function ReturnOwnedAircraftsMenu()
else
SpawnVehicle(data.current.value, data.current.value.plate)
TriggerServerEvent('esx_advancedgarage:payAircraft')
WasInPound = true
end
else
ESX.ShowNotification(_U('not_enough_money'))
end
end)
end, function(data, menu)
menu.close()
WasInPound = true
end)
end)
end
Expand Down Expand Up @@ -726,14 +726,14 @@ function ReturnOwnedBoatsMenu()
else
SpawnVehicle(data.current.value, data.current.value.plate)
TriggerServerEvent('esx_advancedgarage:payBoat')
WasInPound = true
end
else
ESX.ShowNotification(_U('not_enough_money'))
end
end)
end, function(data, menu)
menu.close()
WasInPound = true
end)
end)
end
Expand Down Expand Up @@ -874,14 +874,14 @@ function ReturnOwnedCarsMenu()
else
SpawnVehicle(data.current.value, data.current.value.plate)
TriggerServerEvent('esx_advancedgarage:payCar')
WasInPound = true
end
else
ESX.ShowNotification(_U('not_enough_money'))
end
end)
end, function(data, menu)
menu.close()
WasInPound = true
end)
end)
end
Expand Down