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
Description: Toggles the visibility of garage blips on the map.
Arguments:
state(boolean) β Whether to show or hide blips.
Last updated