Skip to content

Jlonndi/tnj-stealshoes

 
 

Repository files navigation

tnj-stealshoes

qb-radialmenu:

{
    id = 'stealshoe',
    title = 'Steal Shoes',
    icon = 'shoe-prints',
    type = 'client',
    event = 'tnj-stealshoes:client:TheftShoe',
    shouldClose = true
}

qb-inventory/client/main.lua add the following into the checks on line 440

or weaponName == "weapon_shoe"

qb-weapons/client/main.lua add the following around line 163:

elseif QBCore.Shared.Weapons[weapon]["name"] == "weapon_shoe" then
    TriggerServerEvent('QBCore:Server:RemoveItem', "weapon_shoe", 1)

qb-core/shared/items.lua

['weapon_shoe'] 		     = {['name'] = 'weapon_shoe', 		 	  	['label'] = 'Shoe', 				['weight'] = 1000, 		['type'] = 'weapon', 	['ammotype'] = nil,						['image'] = 'weapon_shoe.png', 		['unique'] = true, 		['useable'] = false, 	['description'] = 'A shoe'},

qb-core/shared/weapons.lua

[`weapon_shoe`] 	 = {['name'] = 'weapon_shoe', 		['label'] = 'Shoe', 		['ammotype'] = nil,				['damagereason'] = 'Died'},

Inventory Image:

weapon_shoe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%