How a FiveM hoverboard works without a script

By Nilo3D · Updated:

A FiveM hoverboard can be built as a real vehicle instead of a script: a small model registered in vehicles.meta, flying on hover handling, with the rider standing because of its own vehicle layout. The Nilo3D hoverboards are built this way. They fly on Oppressor Mk II handling with the rocket boost kept and no weapons, and everything runs on game data.

What is a hoverboard in FiveM?

There are two ways to put a hoverboard on a server. One is a script that attaches a board prop to the player and moves them around. The other is an add-on vehicle that happens to be a board. The second kind is what this page describes.

Hoverboard as a vehicleHoverboard as a script
What fliesA vehicle, with the game's own flight physicsWhatever the script moves each frame
Other players see itThrough the game's normal vehicle syncDepends on how the script syncs
Code running while ridingNoneThe script
Getting on and offThe vehicle enter and exit action, with animations from the vehicle layoutA command or key the script handles
Tuning speedhandling.metaScript config
Garages, keys, shopsWorks like any other vehicle modelNeeds its own integration

What makes a vehicle hoverboard work?

Each behaviour comes from one data file. Nothing here is specific to boards; it is the same system every add-on vehicle uses.

BehaviourWhere it comes fromGuide
It exists and can be spawnedAn entry in vehicles.metavehicles.meta explained
It hovers and fliesThe handling entry, including its special flight blockhandling.meta explained
The rider stands on the deckA vehicle layout of its own, with its own seat animationvehiclelayouts.meta explained
Stepping on from the left or rightEntry points and entry clips in the same layout
Thruster jets under the boardThe vehicle's effects data, attached to bones in the model
It gets lighter with distanceLOD meshes inside the modelOptimising a FiveM vehicle

Because the layout has its own name, only the board uses the standing pose. Other bikes on the server keep their normal animations.

One detail from building them: the effects file has to be declared before vehicles.meta in the manifest, because the vehicle entry looks up its effects by name at the moment it loads. Load order is covered in fxmanifest.lua and data_file for vehicles.

Which hoverboards does Nilo3D make?

BoardLookSpawn name
AirgliderThe classic pink Dinka board.airglider
GirlboardA longer 1.43 m board with a spinning turbine and green neon.girlboard
NeonboardSlim deck with neon across the whole board.neonboard

All three share the same features: a custom stand-up animation with feet on the deck, entry and exit on both sides, a purple thruster effect with its own engine sound, and four LODs from High to Very Low. Each one is sold on its own as a self-contained resource, and the three together are the Hoverboard Pack.

How do I install a hoverboard on my server?

  1. After buying, download the resource from Granted Assets in the Cfx.re Portal. The steps are in how to install a FiveM resource from Cfx.re Escrow.
  2. Put the folder in the server resources folder without renaming it.
  3. Add ensure to server.cfg. A single board is one line. With the pack, start airglider first:
    ensure airglider
    ensure neonboard
    ensure girlboard
  4. Restart the server and spawn the board by name with your vehicle spawn command.

The boards have no framework code, so the install is the same on ESX, QBCore, QBox or a standalone server. To sell one in a dealership, add its spawn name to your framework's vehicle list: see adding a custom vehicle to ESX, QBCore or QBox.

How does it ride?

The boards use the handling of the Oppressor Mk II, so they control like that vehicle: they hover, climb and glide, and the rocket boost is kept. The weapons are removed. Since the flight comes from the handling file, it behaves the same for every player and needs nothing running in the background.

Frequently asked questions

Is there a hoverboard for FiveM?
Yes. Nilo3D makes three: Airglider, Girlboard and Neonboard. They are add-on vehicles that fly on Oppressor Mk II handling, with a custom stand-up animation.
Does a FiveM hoverboard need a script?
Not when it is built as a vehicle. The Nilo3D boards run on the game's vehicle layout, clip sets and effects data, with no script.
Do the hoverboards work with ESX, QBCore and QBox?
Yes. They have no framework code and work on ESX, QBCore, QBox or a standalone server.
How do I spawn a hoverboard in FiveM?
Start the resource with ensure and spawn it by name with your vehicle spawn command: airglider, girlboard or neonboard.
Can other players see the hoverboard?
Yes. It is a vehicle, so the game syncs it to other players like any other vehicle.

Sources

Products from this guide

All guides