Installation Guide
Don’t have the script yet? Purchase Smash N Grab from our store to get started.
This guide will walk you through the installation of the Smash N Grab script.
Important: Make sure all dependencies are installed and configured before proceeding with the installation.
Dependencies
The following resources are required for this script to function:
Instructions
Step 1: Install the Resource
- Download sk_smashngrab if already purchased, otherwise purchase it from the website
- Extract the resource into your server’s
resourcesfolder - Add
ensure sk_smashngrabto yourserver.cfg
Step 2: Configure Inventory Items
Add the ‘package’ item to your ox_inventory items file. This is the item that will be spawned after grabbing the package from the vehicle.
The items file is typically located at ox_inventory/data/items.lua.
We also provide you an optional image for the package item, you can add it to your ox_inventory/web/images folder:
Step 3: Configure Locations
- Open the
config.luafile in the resource folder - Configure your smash and grab locations
- Set up rewards and loot tables based on your
ox_inventoryitems - Customize cooldowns, durations, and other settings to your liking
Make sure all item names in the config match exactly what you have in your
ox_inventory items file.
Step 4: Test the Script
- Start your server and join it
- Navigate to a configured location
- Use ox_target to interact with the smash and grab target
- Follow the prompts to complete the activity
Make sure you have at least one location configured before testing the script.
Troubleshooting
If you run into any issues during installation or setup, visit our Discord for support. We’re happy to help!