RX Scripts Logo
Garages

Events

All client- & serversided events included within this script. Events serve as listeners that capture and respond to actions executed by this script.
If additional events are required for your implementation, please submit a formal request through our ticketing system on the official Discord server.

Server Events

rxgarages:onVehicleSpawned

Triggered after a vehicle has been spawned.

RegisterNetEvent('rxgarages:onVehicleSpawned', function(playerId, vehicle, vehicleNetId, spawnLocation) end)
playerId
number

Source of the player that took out the vehicle.

vehicle
number

Data of vehicle that has been spawned.

vehicleNetId
number

Network ID of spawned vehicle.

spawnLocation
vector3

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)
playerId
number

Source of the player that parked the vehicle.

plate
string

License plate of the parked vehicle.

garageName
string

Name of the garage where the vehicle was parked.

garageType
string

Type of the garage where the vehicle was parked.

vehicleType
string

Type of the vehicle that was parked.

mods
table

List of modifications applied to the vehicle.

owner
string

Identifier of the owner of the vehicle.

Client Events

No client-sided events available at this time.