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

# Self give current vehicle plate

> Date a ti mismo las llaves del vehículo que estás conduciendo actualmente, sin necesidad de su placa.

Este evento hace lo mismo que [Self give vehicle plate](/es/vehicles-keys/client/self-give-vehicle-plate), pero es incluso más fácil ya que no requiere ningún parámetro — es solo una línea para copiar y pegar.

Activar este evento encontrará automáticamente el vehículo que está conduciendo el jugador local y le dará sus llaves.

```lua Event theme={null}
TriggerServerEvent("vehicles_keys:selfGiveCurrentVehicleKeys")
```

## Ejemplo

```lua theme={null}
-- Solo un evento de un script imaginario de autoescuela
RegisterNetEvent("driving_school:test_started", function()
    local vehicle = CreateVehicle("blista", 249.40, -1407.23, 30.40, true, false)
    SetVehicleColours(vehicle, 4, 5)
    SetVehicleExtraColours(vehicle, 1, 2)
    SetEntityHeading(vehicle, 317.64)
    SetVehicleOnGroundProperly(vehicle)
    SetPedIntoVehicle(PlayerPedId(), vehicle, -1)

    -- INTEGRACIÓN DE VEHICLES KEYS PARA DAR LAS LLAVES FÁCILMENTE
    TriggerServerEvent("vehicles_keys:selfGiveCurrentVehicleKeys")
end)
```


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