Client Events
Create Key
TriggerServerEvent('bhd_garage:keys:CreateKey', plate)
Description: Requests the server to create a key for the specified vehicle.
Arguments:
plate
(string) – The plate of the vehicle.
Delete Key
TriggerServerEvent('bhd_garage:keys:DeleteKey', count, plate)
Description: Requests the server to delete a specific number of keys.
Arguments:
count
(number) – The number of key items to be deleted.plate
(string) – The plate of the vehicle.
Property Deletion
TriggerEvent("bhd_garage:PropertyDeletion", garageName)
Description: Informs the system that a property (garage) has been deleted and the system moves vehicle to Config.DefaultGarageName.
Arguments:
garageName
(string) – The name of the deleted property.
Toggle Garage Blips
TriggerEvent("bhd_garage:ToggleBlips", state)
Description: Toggles the visibility of garage blips on the map.
Arguments:
state
(boolean) – Whether to show or hide blips.
Last updated