Installation
A comprehensive, step-by-step installation guide detailing how to successfully set up my resource on your server.
Dependencies
The following dependencies listed below are required to the run this resource, without them, this resource will not work.
ox_inventory https://github.com/overextended/ox_inventory
Steps
Add the following line in
ox_inventory > data > animations.luawithin theanimsection['switch'] = { dict = 'mp_arresting', clip = 'a_uncuff' },Copy and paste the following configuration into
ox_inventory > data > items.lua['switch'] = { label = 'Switch', weight = 200, stack = false, close = true, allowArmed = true, client = { anim = 'switch', usetime = 2500, }, server = { export = 'vanish_switch.use_item_switch' } },Download from keymaster and drag into your
resourcesfolderStart the
vanish_switchresource or ensure in the server.cfgEnsure you have the dependencies needed to run the script
Configure the resource to your liking in the config.lua file
Last updated