Trunk Lock System
Events
Client

Client Events

  • trunk_lock:client:installLock — starts the install flow from the trunk_lock item. It finds the nearest vehicle and asks the server to verify ownership.
  • trunk_lock:client:useAngleGrinder — starts the removal flow from the angle_grinder item. It checks if the vehicle has a lock, then triggers removal.
  • trunk_lock:client:ownershipResult — receives the ownership result from the server and continues the install flow.

Example:

TriggerEvent('trunk_lock:client:installLock')