B0STRA / bostra-hairstyle

FiveM qb-core, esx, standalone with hathair command.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bostra-Hairstyle

bostra-hairstyle

Features:

  • Fully Open-Source
  • Customizable
  • Easy to configure
  • Simple resource with 0.0ms resmon idle, up to 0.02 when starting ptfx.
  • Standalone Framework-wise as there's no framework dependencies if not using item or QB notify. QB/ESX item setup, I don't use esx so test or pr at your will.
  • Command or Item use.
  • Custom prop: B0STRA
  • Custom animation: Enchanted Animations @EnchantedBrownie

How To Install

  • Drag and drop bostra-hairstyle
  • Ensure after ox_lib, and framework if using items.
  • ox_inventory/data/items.lua
	['hairspray'] = {
		label = 'Hairspray',
  		description = 'A can of hairspray to restyle your hair',
		weight = 1,
		stack = false,
		close = true,
		consume = 0,
		client = {
			event = 'bostra-hairstyle:client:openMenu'
	}
},
  • qb/lj/ps-inventory goes into qb-core/shared/items.lua
	["hairspray"] = {
		["name"] = "hairspray",
		["label"] = "Hairspray",
		["weight"] = 1000,
		["type"] = "item",
		["image"] = "hairspray.png",
		["unique"] = true,
		["useable"] = true,
		["shouldClose"] = true,
		["combinable"] = nil,
		["description"] = "A can of hairspray to restyle your hair"
	},

How to Use

  • Use /hathair (position) for example /hathair 1 will be the Hair1 in the config.

Credits

Enchanted Animations - Custom Animations @EnchantedBrownie

Dependencies

None if not using menus or framework reliant item use.

ox_lib - if using menus

Troubleshooting & Support

Mustache Scripts - Discord

Tip / Commission Me

ko-fi

About

FiveM qb-core, esx, standalone with hathair command.

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%