Skip to content

Installation ​

Follow these steps to install sd-scooters on your FiveM server.

Supported Phones ​

The SCOOT rental app registers itself automatically with whichever phone is running. No phone configuration is needed.

PhoneStatus
sd-phoneSupported
lb-phoneSupported

INFO

The phone app is how players rent and end rides. Bunkers, charging stations, the fleet, and the admin panel all work without a phone, but players will have no way to start a rental.

Supported Vehicle Keys ​

When a ride starts the renter is handed the keys to their scooter, and they are taken back when it ends. The key script is detected automatically.

Key ScriptStatus
qbx_vehiclekeysSupported
qb-vehiclekeysSupported
qs-vehiclekeysSupported
vehicles_keys (Jaksam)Supported
MrNewbVehicleKeysSupported
Renewed-VehiclekeysSupported
p_vehiclekeysSupported
mk_vehiclekeysSupported
wasabi_carlockSupported
ak47_vehiclekeys / ak47_qb_vehiclekeysSupported
0r-vehiclekeysSupported
fivecode_carkeysSupported
cd_garageSupported
okokGarageSupported
t1ger_keysSupported
mVehicleSupported - keys clear when the scooter is deleted
tgiann-hotwireSupported - keys are given but not taken back
brutal_keysSupported - a temporary key that lasts the maximum ride length

TIP

Running more than one key script, or want to turn keys off? Set VehicleKeys in configs/config.lua to the resource name you want, or 'none'. See Configuration.

Dependencies ​

Ensure the following dependencies are installed and running on your server before starting:

DependencyRequiredNotes
FrameworkYesqb-core / qbx_core / es_extended - needed for rental payments
ox_libYes
oxmysqlYes
PhoneYessd-phone / lb-phone
Target SystemOptionalox_target for the charger screen - falls back to a text prompt without it
Vehicle KeysOptionalAny of the supported key scripts listed below - renters are handed the keys for the ride

TIP

Framework, phone, target system, and vehicle keys are all automatically detected - no configuration needed. Every database table is created automatically on first start.

1 Add the Resource ​

  1. Download the latest version of sd-scooters from the CFX Portal
  2. Extract it into your server's resources directory
  3. Ensure the resource is started in your server.cfg (or resources.cfg, in case you load resources differently). Simply ensuring the sub-folder (i.e. ensure [sd]) will work too, provided dependencies are started in a separate sub-folder before. Here's an example:
cfg
ensure ox_lib
ensure oxmysql
ensure qbx_core
ensure sd-phone

ensure sd-scooters

2 Grant Admin Access ​

The admin panel uses ACE permissions. By default, everyone in group.admin gets full access - command.scootadmin to open the panel and sd_scoot.edit to change things. If your admins are already in group.admin, there is nothing to do.

To give another group full access, add this to your server.cfg:

cfg
add_ace group.mod command.scootadmin allow
add_ace group.mod sd_scoot.edit allow

To give staff a view-only panel instead (they can look and teleport, but every change is refused), set ViewGroup in configs/shared/admin.lua:

lua
ViewGroup = 'group.mod',

3 Start the Resource ​

To load the resource, restart your server entirely.

Never restart sd-scooters with players connected

Stopping or restarting this resource while players are online crashes their game. It unloads the scooter's vehicle layout and animation set, which clients cannot survive mid-session. Changed models are also only picked up when a player connects, so a live restart gains nothing. Always restart it with the server empty, or restart the whole server.

4 Build Your Network ​

A fresh install seeds one bunker at Legion Square so you have something to look at. Everything else is placed in-game:

  1. Run /scootadmin to open the admin panel
  2. Open the Bunkers tab and place rental bunkers where players should pick scooters up
  3. Open the Stations tab and place charging stations where scooters should be docked and charged
  4. Open the Scooters tab to spawn scooters into bunkers

Keep charging stations at least 25 m apart

Every charger screen shows the station nearest the player within 12 m. Stations placed closer than that show each other's docks. The placement tool warns you when a station is too close to another one.

See the Admin Panel page for the placement controls and every panel feature.

Configuration ​

Configure the resource to fit your server's needs. See the Configuration page for detailed explanations of each setting, or edit the config files directly in the resource's configs/ folder.

TIP

Most everyday values - pricing, ride limits, battery drain, charging prices, and bunker stock - can also be changed live from the Settings tab of the admin panel, with no restart.