esx_garage

MLO-uri, interioare, hărți optimizate și asset-uri pentru stream.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

esx_garage

Post by greenie »

https://github.com/esx-framework/ESX-Le ... esx_garage

Store Your vehicles in style! ESX garage has an amazing New UI to help you be stylish while parking your broken, rusty Nissan Micra!

Image

Configuration
Config.DrawDistance
type: float
default: 10.0
description: The distance in which the garage marker will be drawn.
Config.Markers
type: table
description: The markers that will be drawn on the map.
Parameters:
type
type: integer
description: The type of the marker.
size
type: table
parameters:
x: float
y: float
z: float
description: The size of the marker.
color
type: rgba
description: The color of the marker.
Config.Garges
type: table
description: The garages that will be drawn on the map.
layout:
Config.Garages = {
GarageName = {
EntryPoint = {x = 0.0, y = 0.0, z = 0.0},
SpawnPoint = {x = 0.0, y = 0.0, z = 0.0, heading = 0.0},
Sprite = 357,
Scale = 0.8,
Colour = 3,
ImpoundedName = "impoundName"
}
}
Config.Impounds
type: table
description: The impounds that will be drawn on the map.
layout:
Config.Impounds = {
ImpoundName = {
GetOutPoint = {x = 0.0, y = 0.0, z = 0.0},
SpawnPoint = {x = 0.0, y = 0.0, z = 0.0, heading = 0.0},
Sprite = 357,
Scale = 0.8,
Colour = 3,
Cost = 3000,
}
}
Exports
getGarages
Returns the Config.Garages table.

local garages = exports['esx_garage']:getGarages()
getImpounds
Returns the Config.Impounds table.

local impounds = exports['esx_garage']:getImpounds()
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

✅ GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to “Server Resources”