Installation guide

  1. Download your script from keymaster.

  2. Place the script in your resources folder.

  3. Write the script into your server.cfg. ensure baspel_wheelclamp

  4. Add image from img folder into your inventory script. (or make image by yourself)

  5. Configure everything to your liking in configs/sh_config.lua and configs/sv_config.lua file.

  6. [OPTIONAL] - You can turn on databse checking, it will check vehicle if had wheelclamp before restart (it store clamp state), for this you must set two exports into your garage and vehicle shop script, you can find tutorial with examples here.

  7. [OPTIONAL] - Only if you want to use item. Add item into your inventory. qb-inventory ['wheelclamp'] = {['name'] = 'wheelclamp', ['label'] = 'Wheel Clamp', ['weight'] = 0, ['type'] = 'item', ['image'] = 'wheelclamp.png', ['unique'] = true, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = 'A Useable wheelclamp'}, ox-inventory ['wheelclamp'] = {label = 'Wheelclamp'},

Or you can download IMG here, be sure you rename for you item name

Last updated