Installations

Guide to installations and basic concepts of Frozen Scratch Ticket

1. Before starting

Welcome to the Frozen Scratch Ticket installation guide, this resource will fulfill all the functions of using objects, modifying objects or even completely unique clothing systems, do not forget that with great power comes great responsibility, therefore you must carefully follow all the steps that you will see in this installation guide.

2. Items and database

All items listed are not usable by default, if you want to give them a use, whether for clothing or food, you can do so by editing your scripts!

Choose the option that suits your server, for example qb_inventory, ox_inventory or database items if you have a native inventory.

Items in the database

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('money_ticket', 'Money Ticket', 0.2, 0, 1),
('item_ticket', 'Item Ticket', 0.2, 0, 1);

Items in ox_inventory

["money_ticket"] = {
    label = "Money Ticket",
    weight = 0.2,
    stack = true,
    close = true,
},

["item_ticket"] = {
    label = "Item Ticket",
    weight = 0.2,
    stack = true,
    close = true,
}

Items in QB

    ['money_ticket'] 			 		= {['name'] = 'money_ticket', 					   ['label'] = 'Money Ticket', 				    ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'money_ticket.png', 	['unique'] = false, 	['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},
    ['item_ticket'] 			 		= {['name'] = 'item_ticket', 					   ['label'] = 'Item Ticket', 				    ['weight'] = 50, 		['type'] = 'item', 		['image'] = 'item_ticket.png', 	    ['unique'] = false, 	['useable'] = true, 	['shouldClose'] = true,	   ['combinable'] = nil,   ['description'] = ''},

Last updated