esx_cruisecontrol

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_cruisecontrol

Post by greenie »

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

ESX Cruisecontrol includes a cruisecontrol and seatbelt system for safe and relaxing driving

Configuration
Config.HudResource
type: string
default: esx_hud
description: The resource name of the HUD resource that should be used to display the cruisecontrol and seatbelt status
Config.Cruise
type: table
description: Configuration for the cruisecontrol
options:
Enable
type: boolean
default: true
description: Enable or disable the cruisecontrol
Key
type: string
default: CAPITAL
description: The key to toggle the cruisecontrol
Export
type: function
default:
Export = function(state)
exports[Config.HudResource]:SetCruiseControl(state)
end
description: Export to set the cruisecontrol status in the HUD
Config.Seatbelt
type: table
description: Configuration for the seatbelt
options:
Enable
type: boolean
default: true
description: Enable or disable the seatbelt
Key
type: string
default: B
description: The key to toggle the seatbelt
EjectCheckSpeed
type: number
default: 45.0
description: The speed at which the player should be ejected from the vehicle when not wearing a seatbelt
RagollTime
type: number
default: 1
description: The time in milliseconds the player should be in ragdoll when ejected from the vehicle
Export
type: function
default:
Export = function(state)
exports[Config.HudResource]:SeatbeltState(state)
end
description: Export to set the seatbelt status in the HUD
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

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

Return to “Server Resources”