Skip to content

Plugin written on the QB framework to handle car licence plates within FiveM game

License

Notifications You must be signed in to change notification settings

PhysiksTV/qb-car-license-plate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qb-car-license-plate

Plugin written on the QB framework to handle car license plates within FiveM game

Dependencies

  • QB-Core
  • QB-Inventory

Workflows

  1. You can customise where to buy the empty license plates using the config file.
  2. The empty license plates can be converted to 'registered license plates' for a higher amount of money
  3. The empty license plates can be converted to 'fake license plates' for a lower amount of money
  4. If you have within your inventory fake or registered license plates you can go behind your car and change the plates.

Configuration

  1. Add following lines to the qb-core\shared\items
  ['empty_license_plate'] 		 = {['name'] = 'empty_license_plate', 			['label'] = 'Empty License Plate', 		['weight'] = 150, 		['type'] = 'item', 		['image'] = 'licenseplate.png', 		['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'An empty license plate.'},
	['fake_license_plate'] 		 	 = {['name'] = 'fake_license_plate', 			['label'] = 'Fake License Plate', 		['weight'] = 150, 		['type'] = 'item', 		['image'] = 'licenseplate.png', 		['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'A fake license plate.'},
	['registered_license_plate'] 	 = {['name'] = 'registered_license_plate', 		['label'] = 'Registered License Plate', ['weight'] = 150, 		['type'] = 'item', 		['image'] = 'licenseplate.png', 		['unique'] = true, 		['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = 'A registered license plate ready to use'}
  1. Add licenseplate.png to qb-inventory\html\images

About

Plugin written on the QB framework to handle car licence plates within FiveM game

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 74.0%
  • JavaScript 10.1%
  • CSS 9.9%
  • HTML 6.0%