esx_boat
https://github.com/esx-framework/esx_boat
This resource for ESX adds boat shops and boat garages around San Andreas, the island has been populated with boat garages, and comes defaulted with one boat shop.
Configuration
Config.LicenseEnable
- type:
boolean
- default:
true
- description: Require players to have a boating license to purchase boats.
- type:
Config.LicensePrice
- type:
int
- default:
5000
- description: The price of the boating license.
- type:
Config.MarkerType
- type:
string
- default:
1
- description: The marker type for the boat shop.
- type:
Config.DrawDistance
- type:
float
- default:
10.0
- description: The draw distance for the boat shop marker.
- type:
Config.Marker
&Config.StoreMarker
- type:
table
- description: The marker for the boat shop.
x
- type:
float
- description: The x position of the marker.
- type:
y
- type:
float
- description: The y position of the marker.
- type:
z
- type:
float
- description: The z position of the marker.
- type:
r
- type:
float
- description: The red value of the marker.
- type:
g
- type:
float
- description: The green value of the marker.
- type:
b
- type:
float
- description: The blue value of the marker.
- type:
- type:
Exports
getGarages
returns Config.Zones.Garages
local garages = exports['esx_boat']:getGarages()