# Developer Notes

**`Park Anywhere Integration`**&#x20;

There are built in checks to aquire your vehicle keys after a restart if you are using a park anywhere type garage system. Simply toggle vehicle locks (default L) or use the vehicles keyfob (if enabled) near the vehicle. The script will check if you own it and give you keys or setup your keyfob accordingly.

**`State Bags`**&#x20;

The following state bags can be used in other scripts to disable features of the vehicle key system

`Hotwired`&#x20;

Disabled a vehicle from being able to be hotwired

```lua
--Client
Entity(vehicle).state:set('Hotwired', 'Failed', true)

--Server
Entity(vehicle).state.Hotwired = 'Failed'
```

`LockpickDisabled`&#x20;

Disable a vehicle from being able to be lockpicked

```lua
--Client
Entity(vehicle).state:set('LockpickDisabled', true, true)

--Server
Entity(vehicle).state.LockpickDisabled = true
```

`MK_Disable_TakeKeys`&#x20;

Disable an NPC from giving keys to a player after being shot and dragged out of a vehicle

```lua
--Client
Entity(ped).state:set('MK_Disable_TakeKeys', true, true)

--Server
Entity(ped).state.MK_Disable_TakeKeys = true
```

`MK_Disable_CarJack`&#x20;

Disable an NPC from being able to be carjacked

```lua
--Client
Entity(ped).state:set('MK_Disable_CarJack', true, true)

--Server
Entity(ped).state.MK_Disable_CarJack = true
```
