Copy Keys System
The Copy Keys System allows players to duplicate their vehicle keys at specified locations for a configurable price. This system supports integration with esx_menu_default
and qtarget
, offering flexibility for different server setups.
Configuration Options
Menu Settings
Config.CopyKeysMenu
: Enables the key copy menu usingesx_menu_default
. If set tofalse
, you can integrate it withqtarget
.Config.OpenCopyKeys
: Specifies the key to open the key copy menu (default:E
).Config.MenuPlacement
: Defines the position of theesx_menu_default
menu (default:top-left
).
Blip Configuration
Config.Blip
: Enables or disables the blip on the map for the key duplication store.Config.CopyKeysBlip
: Customize the blip, including:BlipName: The name displayed on the map (default:
Copy keys
).BlipSprite: Icon representing the location (default:
186
).BlipColour: Color of the blip (default:
3
).BlipScale: Size of the blip on the map (default:
0.8
).
Example Use Case
Imagine a player loses their vehicle keys and needs a duplicate. They navigate to a Copy Keys location marked by a blip on the map, press the interaction key (E
by default), and use the menu to create a duplicate for a set price. The system ensures accessibility while maintaining configurable pricing and visual customization to suit your server's theme.
Last updated