forked from alberttheprince/popcornrp-customs
-
Notifications
You must be signed in to change notification settings - Fork 8
/
types.lua
18 lines (17 loc) · 951 Bytes
/
types.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---@meta
---@class blipOptions
---@field sprite integer -- Blip sprite
---@field color integer -- Blip color
---@field label string -- Blip label
---@field scale number -- Blip scale
---@meta
---@class ZoneOptions
---@field blip blipOptions? -- Blip options for the zone
---@field freeRepair string[]? -- Array of jobs that can repair vehicles for free
---@field freeMods string[]? -- Array of jobs that can modify vehicles for free
---@field job string[]? -- Array of jobs that can access the zone
---@field allowedClasses table<number, boolean>? -- Array of classes that are allowed to access the zone
---@field deniedClasses table<number, boolean>? -- Array of classes that are denied access to the zone
---@field modelBlacklist table<number, boolean>? -- Array of vehicle models (hashes) that are denied access to the zone
---@field hideBlip boolean? -- Hide the blip on the map
---@field points vector3[] -- Array of points that make up the zone