ManKind Scripts
[Tebex]
[Showcase Video]
[Config Files]
[DISCORD]
Vehicle Key System
Requirements
- One Sync Infinity
- [ox_lib]
- [mk_utils] (Provided with script)
Features
- Main
- Keys tracked via state bags
- Keys remain as long as vehicle is spawned
- Keys do not become lost upon player logout
- Easy to use exports for giving player keys
- Keys as items
- Feature disabled by default

- Enable items to be given for player owned vehicles
- Item is required for engine and lock toggling
- Item metadata to show vehicle name, plate and keyfob ID number
- Requires [ox_mysql]
- Purchase duplicate items or reprogram your vehicle via a menu system
- Access menu via command or target menu ped
- Framework Independent
- Use any framework via editable bridge files
- QB and ESX pre configured
- Whitelist Vehicles
- Setup vehicle models that will give you keys automatically
- Default whitelisted vehicles include golf carts and bicycles
- Job Whitelist Vehicles
- Setup vehicle models that when a player has a certain job they will obtain keys automatically by toggling the vehicles locks or sitting in the driver seat
- Usefully for jobs like police or ems
- Optimization
- 0.0 MS idle
- 0.0 - 0.01 MS while holding a weapon
- Hotwiring
- Attempt to hotwire a vehicle to gain control of it
- 1 attempt per vehicle per player
- Setup any game to use for hotwire attempt
- Lock Picking
- Use items to lockpick vehicle doors and ignitions
- Setup any game to use for lockpicking doors or ignitions
- NPC Carjacking
- Carjack NPC drivers with weapons (non melee)
- Blacklist certain vehicles or PEDs
- Steal NPC Keys
- Automatically take keys from dead NPC drivers
- Blacklist certain vehicles or PEDs
- NPC Doorlocks
- Configure NPC vehicle doors to be locked or unlocked based upon configurable chance
- Configure separately for parked vehicles and driven vehicles
- Commands
- /givekey
- Give non item keys to nearest player
- /removekey [playerId]
- Remove non item keys from player
- /engine
- Toggle vehicle engine on/off
- All commands editable
- Restrictions
- Setup restrictions to not disable players from starting engine/lockpicking/hotwiring
- Default checks are players being dead or cuffed
- Setup custom checks in the bridge files
- Doorlock Sounds
- Enable door lock/unlock sounds
- Change sound files easily
- No Shuffle
- Disable auto shuffling from passenger to driver seat
- Automatic Engine Starting
- Enable or disable the engine starting as soon as the player sits in the driver seat
- Accelerate To Start
- Enable or disable the accelerate key starting the engine
- Leave Door Open
- Enable or disable the ability to Hold down the F key to leave the driver door open when exiting a vehicle
- Leave Engine Running
- Enable or disabled the vehicle engine staying on when exiting a vehicle
My Other Scripts
| Code is accessible | Config/Bridge Files/ReadME |
| Subscription-based | No |
| Lines (approximately) | ~5000 |
| Requirements | [ox_lib]|
| Support | Yes - Discord |