Client Events
trunk_lock:client:installLock— starts the install flow from thetrunk_lockitem. It finds the nearest vehicle and asks the server to verify ownership.trunk_lock:client:useAngleGrinder— starts the removal flow from theangle_grinderitem. 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')