> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jaksam-scripts.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Vehicle spawned

> Triggered after a bought vehicle spawns from the buyable vehicles garage.

Triggered after the spawn of a bought vehicle from the buyable vehicles garage.

<CodeGroup>
  ```lua Event theme={null}
  AddEventHandler("jobs_creator:permanent_garage:vehicleSpawned", function(vehicle, vehicleName, vehiclePlate)
  end)
  ```

  ```lua Example theme={null}
  AddEventHandler("jobs_creator:permanent_garage:vehicleSpawned", function(vehicle, vehicleName, vehiclePlate)
      -- Example to give keys to the vehicle (you may have a TriggerEvent to use, that's up to you)
      giveKeysToVehicle(vehicle)
      print(vehicleName) -- Example output 'adder'
  end)
  ```
</CodeGroup>

### Parameters

| Name           | Data Type      | Description          |
| -------------- | -------------- | -------------------- |
| `vehicle`      | vehicle handle | The vehicle's handle |
| `vehicleName`  | string         | The vehicle's name   |
| `vehiclePlate` | string         | Vehicle's plate      |


## Related topics

- [Vehicle spawned](/jobs-creator/client/garage-owned/vehicle-spawned.md)
- [Buyable Vehicles](/jobs-creator/client/buyable-vehicles/index.md)
- [Garage Owned](/jobs-creator/client/garage-owned/index.md)
- [Temporary Garage](/jobs-creator/client/temporary-garage/index.md)
