Events
Server Events
rxgarages:onVehicleSpawned
Triggered after a vehicle has been spawned.
RegisterNetEvent('rxgarages:onVehicleSpawned', function(playerId, vehicle, vehicleNetId, spawnLocation) end)
Source of the player that took out the vehicle.
Data of vehicle that has been spawned.
Network ID of spawned vehicle.
Coordinates of where the vehicle has been spawned.
rxgarages:onVehicleParked
Triggered after a vehicle has been parked.
RegisterNetEvent('rxgarages:onVehicleParked', function(playerId, plate, garageName, garageType, vehicleType, mods, owner)
end)
Source of the player that parked the vehicle.
License plate of the parked vehicle.
Name of the garage where the vehicle was parked.
Type of the garage where the vehicle was parked.
Type of the vehicle that was parked.
List of modifications applied to the vehicle.
Identifier of the owner of the vehicle.
rxgarages:onVehicleImpound
Triggered after a vehicle has been impounded.
RegisterNetEvent('rxgarages:onVehicleImpound', function(impoundedByPlayerId, plate, impoundName, reason, tillDate, owner) end)
Source of the player that impounded the vehicle.
License plate of the impounded vehicle.
Name of the impound where the vehicle was sent.
Reason for impounding the vehicle.
Date string when the impound expires, or nil for indefinite.
Identifier of the owner of the vehicle.
Client Events
No client-sided events available at this time.
