😡
RAINMAD Documentation
WebsiteStoreDiscordYouTube
  • Welcome to RAINMAD Scripts
  • INFORMATION
    • FAQ
    • Support and Assistance
    • Discord Roles
    • How to Update Your Asset
  • CFX Auth system
    • FiveM Asset Escrow System
  • Development Guide
    • Common Issues
    • How to Add Webhooks
    • Target Options Configuration
    • How to Translate Your Script
    • How to Integrate Your Custom Notification Script
    • How to Change the Black Money Name
    • How to Add an Item
    • How to Change the Dispatch
    • Framework Selection and Configuration
    • Finding Item Images
  • RESOURCES
    • Mad RC Cars (10+ car)
      • Installation
      • Configuration
    • Skateboard, Snowboard & Hoverboard
      • Installation
      • Configuration
    • Cargo Ship Heist
      • Installation
      • Dependencies
      • Translate Strings
      • Discord Log
      • Configuration
      • Exports
    • Below the Vault Heist
      • Installation
    • NPC Mechanic
      • Installation
      • Configuration Guide
    • Cash Exchange Heist
      • Installation
      • Dependencies
    • Drugs V: Grow, Cook & Space!
      • Installation
      • Configuration Guide
    • Drugs V: Laboratories
      • Installation
      • Configuration Guide
    • Drugs V: Goods Deal
      • Installation
      • Configuration Guide
    • Drugs V: Business Labs
      • Installation
      • Configuration Guide
    • Drugs V: Effects
      • Installation
      • Configuration Guide
      • Exports
    • Drugs V: Money Laundering
      • Installation
      • Configuration Guide
    • Bank Truck Robbery - 4 in 1!
      • Installation
      • Dependencies
      • Translate Strings
      • Discord Log
      • Events & Exports
      • Disable Mission NPC
    • House Robbery with Welding Minigame
      • Installation
      • Dependencies
      • Inventory Integration
      • Translate Strings
      • Discord Log
      • Creating a House for Robbery
      • Events & Exports
      • Disable Mission NPC
    • Lootbag
      • Installation
    • Bounty Board
      • Installation
    • Chopshop with Welding Minigame
      • Installation
      • Dependencies
      • Translate Strings
      • Discord Log
      • Events & Exports
      • Disable Mission NPC
    • Scenes: Draw everywhere
      • Installation
      • Add Text Font
      • Events & Exports
    • Vault Heist
      • Installation
      • Vehicle Mods
      • Dependencies
    • Barge Heist
      • Installation
      • Dependencies
    • Towtruck + Missions
      • Installation
    • Zombies & Dungeon
      • Installation
      • Rarity System
    • Gangs - Territory, Wars & Tribute Zones!
      • Installation
      • Add Gang & Tribute Zone
      • Events & Exports
      • Gang System for ESX
    • Camper V: Drug Caravans
      • Installation
      • Dependencies
    • Realistic Airdrop
      • Installation
    • ATM Robbery - 4 in 1!
      • Installation
    • Bobcat Security Heist
      • Installation
      • Dependencies
    • Minigame Bundle
      • Installation
      • Minigame Exports
      • Translate Strings
    • Weapon V: Realism
      • Installation
    • Boombox with Watch Party
      • Installation
      • Youtube API Key
      • Exports
    • Drop and Dead Info.
      • Installation
    • Throw Everything
      • Installation
      • Useable Items
      • Exports
      • QBCore Compatibility
      • ESX Compatibility
    • Police Riot with Interior
      • Installation
      • Dependencies
    • Dialog with NPC
      • Installation
    • Gun Store Heist
      • Installation
      • Dependencies
    • Emoji V: Share Feelings
      • Installation
    • Illegal Corners: Selling Goods
      • Installation
      • Adding a New Corner
    • Decal V: Graffiti & Vehicle Sticker
      • Installation
      • Custom Decal
      • Events & Exports
    • Hacker V: Become Hacker
      • Installation
      • Custom Hack
      • Functions & Events
    • Weed Shop Heist
      • Installation
      • Dependencies
    • Jailbreak
      • Installation
      • Dependencies
    • Vangelico Heist Final
      • Installation
      • Dependencies
    • Pets
      • Installation
      • QBCore Compatible
    • Artifact Heist
      • Installation
    • Betta Heist
      • Installation
    • Oil Rig Heist
      • Installation
      • Dependencies
    • Fleeca Heist Final
      • Installation
      • Dependencies
    • Deluxe Car Heist
      • Installation
    • Yacht Heist
      • Installation
    • Paleto Heist
      • Installation
    • Union Heist
      • Installation
    • Shop Robbery
      • Installation
    • Drug Boat Heist
      • Installation
    • Underground Heist
      • Installation
      • Dependencies
    • Van Heist
      • Installation
      • Dependencies
    • Pacific Heist
      • Installation
      • Dependencies
    • Train Heist
      • Installation
    • Humane Labs Heist
      • Installation
    • Vangelico Heist
      • Installation
    • Fleeca Heist
      • Installation
    • Casino Heist
      • Installation
      • Dependencies
      • Compatible For Rcore
    • Art Heist
      • Installation
      • Dependencies
    • Kidnapping
      • Installation
    • Graffiti War
      • Installation
Powered by GitBook
On this page
  1. RESOURCES
  2. Skateboard, Snowboard & Hoverboard

Configuration

cfg.boards = {
    skateboard = {
        itemData = {
            { name = 'rm_skate_flame', model = `pitskate1`, removeAfterUse = true },
            { name = 'rm_skate_default', model = `pitskate`, removeAfterUse = true },
            { name = 'rm_skate_thrasher', model = `pitskate3`, removeAfterUse = true },
            { name = 'rm_skate_santa', model = `pitskate2`, removeAfterUse = true },
        },
        boardData = {
            particle = {
                enabled = true,
                scale = 0.15,
                bones = {
                    { name = "wheel_rf", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0) },
                    { name = "wheel_lf", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0) },
                    { name = "wheel_rr", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0) },
                    { name = "wheel_lr", offset = vector3(0.0, 0.0, 0.0), rotation = vector3(0.0, 0.0, 0.0) }
                }
            },
            abilities = {
                canJump = true,
                canSpin = true,
                jumpHeight = 5.0
            }
        }
    },

    snowboard = {
        itemData = {
            { name = 'rm_snow_1', model = `pitsnow`, removeAfterUse = true },
            { name = 'rm_snow_2', model = `pitsnow2`, removeAfterUse = true },
            { name = 'rm_snow_default', model = `pitsnow1`, removeAfterUse = true },
            { name = 'rm_snow_flame', model = `pitsnow`, removeAfterUse = true },
        },
        boardData = {
            useOnlyInXmas = false,
            particle = {
                enabled = true,
                scale = 0.15,
                bones = {
                    { name = "wheel_rf", offset = vector3(0.0, -3.0, -1.0), rotation = vector3(0.0, 0.0, 0.0) },
                    { name = "wheel_lf", offset = vector3(0.0, -3.0, -1.0), rotation = vector3(0.0, 0.0, 0.0) },
                    { name = "wheel_rr", offset = vector3(0.0, -3.0, -1.0), rotation = vector3(0.0, 0.0, 0.0) },
                    { name = "wheel_lr", offset = vector3(0.0, -3.0, -1.0), rotation = vector3(0.0, 0.0, 0.0) }
                }
            },
            abilities = {
                canJump = true,
                canSpin = true,
                jumpHeight = 5.0
            }
        }
    },

    hoverboard = {
        itemData = {
            { name = 'rm_hover_red', model = `pithov2`, removeAfterUse = true },
            { name = 'rm_hover_pinkpurple', model = `pithov3`, removeAfterUse = true },
            { name = 'rm_hover_blue', model = `pithov1`, removeAfterUse = true },
            { name = 'rm_hover_yellow', model = `pithov`, removeAfterUse = true }
        },
        boardData = {
            particle = {
                enabled = true,
                scale = 0.5,
                bones = {
                    { name = "bodyshell5", offset = vector3(0.0, -0.73, 0.025), rotation = vector3(0.0, 0.0, 0.0) },
                }
            },
            abilities = {
                canJump = true,
                canSpin = true,
                jumpHeight = 5.0
            }
        }
    }
}

cfg.keys = {
    jump = { keys = { {0, 38, true} }, label = "Jump" },
    spin = { keys = { {0, 45, true} }, label = "Quick Spin" },
    hand = { keys = { {0, 47, true} }, label = "Take in hand" },
    fwdlift = { keys = { {0, 162, true}, {0, 165, true} }, label = "Lean Fwd / Lift" },
    freemode = { keys = { {0, 329, true} }, label = "Free-mode (dangerous)" }
}
PreviousInstallationNextCargo Ship Heist

Last updated 4 days ago