Skip to content

s4ntys/snt-rental

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

snt-rental

Just a rental car... you can use it however you want :)

If you want to change cars you do it in config.lua

Dependencies :

QBCore Framework - https://github.com/qbcore-framework/qb-core

PolyZone - https://github.com/mkafrin/PolyZone

qb-target - https://github.com/BerkieBb/qb-target (Only needed if not using draw text)

qb-menu - https://github.com/qbcore-framework/qb-menu

Put this line on shared.lua in your core.

["rentalpapers"]				 = {["name"] = "rentalpapers", 					["label"] = "Rental Papers", 			["weight"] = 50, 		["type"] = "item", 		["image"] = "rentalpapers.png", 		["unique"] = true, 		["useable"] = false, 	["shouldClose"] = false, 	["combinable"] = nil, 	["description"] = "Poprosím aby si auto vrátil :)"},

IMAGINE

image

  • Add the rentalpapers.png to your - qb-nventory -> html -> images

Go to qb-inventory -> html -> js -> app.js and between lines 500-600 add the following code

          } else if (itemData.name == "rentalpapers") {
            $(".item-info-title").html('<p>' + itemData.label + '</p>')
            $(".item-info-description").html('<p><strong>Plate: </strong><span>'+ itemData.info.label + '</span></p>');

About

Just a rental car... you can use it however you want :)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages