Custom Locations
Config.Locations.Types defines every location type that a gang leader can place on the map through the management panel (stashes, garages, clothing rooms, bank deposit points, management desks…). You
Where to add custom types
Config.Locations = {
DrawDistance = 50.0,
InteractDistance = 1.5,
MarkerDrawDistance = 15.0,
Types = {
stash = { --[[ ... ]] },
garage = { --[[ ... ]] },
-- 👇 your custom type
armory = {
label = 'Open gang armory',
default = true,
requiredPermission = 'access_armory',
blip = {
enabled = false,
sprite = 110,
color = 1,
scale = 0.7,
},
marker = {
type = 22,
offset = { x = 0.0, y = 0.0, z = 1.0 },
scale = { x = 0.25, y = 0.25, z = 0.25 },
color = { r = 255, g = 0, b = 0, a = 255 },
bobUpAndDown = true,
faceCamera = true,
rotationOrder = 2,
rotate = false,
},
},
},
}Type fields
Field
Type
Required
Description
blip
blipField
Type
Description
marker
markerField
Type
Description
Permission system
Adding your own permission flag
Handling the interaction server-side
Complete example — armory type
Last updated