Events
This page documents client-side and server-side events
Last updated
This page documents client-side and server-side events
Last updated
Description: Requests the server to create a key for the specified vehicle.
Arguments:
plate
(string) – The plate of the vehicle.
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.
Description: Informs the system that a property (garage) has been deleted and the system moves vehicle to .
Arguments:
garageName
(string) – The name of the deleted property.
Description: Toggles the visibility of garage blips on the map.
Arguments:
state
(boolean) – Whether to show or hide blips.
Description: Refreshes a player's stored vehicles from database.
Use case: After buying vehicle so player would see the vehicle in garage
Arguments:
identifier
(string) – The identifier of the player.
Description: Deletes a specific number of keys from the system.
Arguments:
count
(number) – The number of key items to be deleted.
plate
(string) – The vehicle’s plate number.
source
(number) – The player’s source ID.
Description: Sends a vehicle to impound.
Arguments:
plate
(string) – The vehicle’s plate number.
impoundLot
(string) – The name of the impound lot.
source
(number) – The player’s source ID.
instant
(boolean) – Whether it should be instantly towed or not.
Description: Creates a new key for a player after a plate change.
Arguments:
plate
(string) – The vehicle plate number.
source
(number) – The player’s source ID.