PH_Vehiclekeys

Hello FiveM Server owners and its Communitys,

today after a very long break i present you PH_Vehiclekeys.

First iam sorry that there are no Animations shown in the video i kinda forgot them to include them in the Script BUT they are included in an update that i made recently.

Features:

  • Normal/Keyless Keys
  • Lock and Unlock a Vehicle
  • Configuration
  • Lockpicking/Hotwiring/Keyless Hacking
  • Only retrieve Vehicle from garage if key is in Keyring (required modification in your garage system or false)
  • sperate Keyring Inventory for your keys
  • Give Key to other player (either whole vehicle transfer or just copied key)
  • Vehicle Key Shop
  • Keys Save in Database
  • Some information about the Vehicle itself saves in a .json file (Cables Cut/VehicleKey as example)
  • current included Locales: en,de there will be more in Future updates.
  • In the video there arent any Animations shown but i included them in the latest V1.1.0 In the Config you can change the animations and props held in hand.

Planned in future Updates

  • Minigames for Lockpicking/Hotwiring/Keyless Hacking
  • Customers ideas can be implemented aswell if wanted by other customers.

This Script is not open source but the required files are availible for you to edit like:

  • config/Locales and the JSON file to check if Vehicles are Saved Properly

PH_Vehiclekeys Preview

Screenshot 2025-09-02 170518

Get it here

For any question related to this Script feel free to ask. (But keep in mind currently i do all this solo but try my best to give fast support for you).

English is not my main Language (German).

Code is accessible No
Subscription-based No
Lines (approximately) 3500+
Requirements ESX/Ox_lib/Ox_target
Support Yes

Update V1.2.0

  • Added options for Notifys. (If yours is not in the list in can be implemented on your own or ask for help :slight_smile:
  • New Checking Method when Wires are cut forcing to check ifWiresCut = true or false.
  • Some code CleanUps
  • Added Exports for :
    ‘GiveKey’, – Transfer vehicle can be used for other scripts (Serverside) Use only if you do not want to use the integrated key Transfer stuff
    ‘GiveInitialKeys’, – Give Keyless and Standart keys(Serverside)
    ‘DealerGiveKey’, – Gives the key after Purchasing the vehicle. Keyless only if the Vehicle is in Config.KeylessModels (Clientside)
    ‘DealerGiveInitialKeys’, Give Keyless and Standart keys afet Purchase (Clientside)
    ‘IsKeylessModel’, – If the model is Keyless
    ‘PH_Notify’

Planned for the next Update:

  • Vehicle Selling to Players by Giving the key (i know its a keysystem but since i already got transfer Vehicle by Giving the key in it why not make it a bit fancy)

  • some more stuff is in my mind but thats not Tested yet :slight_smile:

UPDATE V1.3.0

  • Added Vehicle Selling to other Players
  • Fixed bug when getting key from Dealerships
  • Added Fuel Script compatility (mainly cause my keysystem messes around with keeping engine off/on)