🛠️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.'
},
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