> ## 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

> Se dispara después de que aparece un vehículo temporal.

Se dispara después de la aparición de un vehículo temporal.

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

  ```lua Example theme={null}
  AddEventHandler("jobs_creator:temporary_garage:vehicleSpawned", function(vehicle, vehicleName, vehiclePlate)
      -- Ejemplo para dar las llaves del vehículo (puedes tener un TriggerEvent para usar, eso depende de ti)
      giveKeysToVehicle(vehicle)
      print(vehicleName) -- Ejemplo de salida 'adder'
  end)
  ```
</CodeGroup>

### Parámetros

| Nombre | Tipo de dato | Descripción |
| - | - | - |
| `vehicle` | vehicle handle | El handle del vehículo |
| `vehicleName` | string | El nombre del vehículo |
| `vehiclePlate` | string | La matrícula del vehículo |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.