🛠️Installation
Item Installation
['boxing_ticket'] = {
['name'] = 'boxing_ticket',
['label'] = 'Boxing Ticket',
['weight'] = 10,
['type'] = 'item',
['image'] = 'boxing_ticket.png',
['unique'] = false,
['useable'] = true,
['shouldClose'] = true,
['combinable'] = nil,
['description'] = 'You can use this ticket to enter the boxing match. It is valid for one person only.'
},['boxing_ticket'] = {
label = 'Boxing Ticket',
weight = 100,
stack = true,
close = false,
description = 'A ticket to the next boxing match.',
client = {
image = 'boxing_ticket.png',
}
},Database Installation
Before you run this code, you have a option Config.Autodatabase on file config.lua and the script gona run the database automatic.
CREATE TABLE IF NOT EXISTS m_boxing_stats (
id INT AUTO_INCREMENT PRIMARY KEY,
citizenid VARCHAR(50) UNIQUE,
name VARCHAR(100),
wins INT DEFAULT 0,
losses INT DEFAULT 0
);Last updated