Server
Server exports
ApplyVehiclePreset
-- Example
exports.kq_emergency:ApplyVehiclePreset(
vehicle, -- integer - Entity
presetId, -- integer - The ID of the preset to apply
temporary, -- boolean - If the application should not be saved
usedItem -- boolean - Whether the item was used
)
-- Returns: booleanRemoveVehiclePreset
-- Example
exports.kq_emergency:RemoveVehiclePreset(
vehicle, -- integer - Entity
player -- (optional) - integer - Player ID who may receive the Emergency Lights kit item if one was used for installation
)
-- Returns: booleanGetPresetById
GetPresets
GetVehiclePresetId
OpenApplyMenu
Last updated