Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.95 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.95 KB

tnj-stealshoes

the model is standalone this just has the steal shoes in qbcore

LICENSE

This project does not contain a license, therefore you are not allowed to add one and claim it as yours. You are not allowed to sell this nor re-distribute it, if an issue arises, we will proceed to file a DMCA takedown request. You are not allowed to change/add a license unless given permission by T&J Services (Jay). If you want to modify (does not apply if you want to use it for personal purposes) or make an agreement, you can contact T&J Services (Jay). Pull requests are accepted as long as they do not contain breaking changes. You can read more about unlicensed repositories here if questions remain.

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

https://discord.gg/GUhYGu999z