[FREE] [ESX & QBCore] Pocket Bikes

Enables bicycle spawning via item use.

This script allows players to spawn and ride different types of bicycles by using corresponding items, compatible with both ESX and QBCore frameworks. When a player uses a bike item, a bicycle of that type is spawned under them, and it automatically despawns when they get off.

  • Easy configuration
  • Framework compatibility: ESX and QBCore
  • Usable item for spawning bicycles

Preview

Easy configuration

Install

  • Download the repository.
  • Add the azakit_pocketbikes to your resources folder.
  • Add ensure azakit_pocketbikes to your server.cfg.

OX Inventory Items

['bmx'] = {
	label = 'BMX',
	weight = 200,
	stack = false,
	close = true,
	description = nil,
	client = {
		export = "azakit_pocketbikes.useItem"
	}
},

['cruiser'] = {
	label = 'Cruiser',
	weight = 200,
	stack = false,
	close = true,
	description = nil,
	client = {
		export = "azakit_pocketbikes.useItem"
	}
},

['fixter'] = {
	label = 'Fixter',
	weight = 200,
	stack = false,
	close = true,
	description = nil,
	client = {
		export = "azakit_pocketbikes.useItem"
	}
},

['scorcher'] = {
	label = 'Scorcher',
	weight = 200,
	stack = false,
	close = true,
	description = nil,
	client = {
		export = "azakit_pocketbikes.useItem"
	}
},

['tribike'] = {
	label = 'Tribike',
	weight = 200,
	stack = false,
	close = true,
	description = nil,
	client = {
		export = "azakit_pocketbikes.useItem"
	}
},

['tribike2'] = {
	label = 'Tribike V2',
	weight = 200,
	stack = false,
	close = true,
	description = nil,
	client = {
		export = "azakit_pocketbikes.useItem"
	}
},

['tribike3'] = {
	label = 'Tribike V3',
	weight = 200,
	stack = false,
	close = true,
	description = nil,
	client = {
		export = "azakit_pocketbikes.useItem"
	}
},

Requirements

  • ESX or QBCore

Download

You need help, join my Discord server
https://discord.com/invite/DmsF6DbCJ9

Code is accessible Yes
Subscription-based No
Lines (approximately) 150
Requirements ESX or QBCore
Support Yes

My other works:

[FREE] [ESX & QBCore] Moneywash with tickets, licenses, tax levels, transport
[FREE] [STANDALONE] AutoMove
[FREE] [ESX & QBCore] Milking a cow
[FREE] [ESX & QBCore] Collecting eggs from hens
[FREE] [ESX] Vehicle key and lock
[FREE] [ESX] Sell item with delivery
[FREE] [ESX] Scrap metal from old air conditioners
[FREE] [ESX] NPC for launching events