Instalación
Instalación para ESX Y QBCORE
Instalación
1. Requisitos
ESX Framework or QBCore Framework
MySQL / MariaDB
ox_lib (opcional)
2. Base de Datos
Ejecuta este SQL en tu base de datos:
CREATE TABLE IF NOT EXISTS `ilr_jail` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`player_identifier` varchar(50) NOT NULL,
`player_name` varchar(100) NOT NULL,
`punishment_type` enum('jail','community_service') NOT NULL,
`total_time` int(11) DEFAULT NULL,
`remaining_time` int(11) DEFAULT NULL,
`total_actions` int(11) DEFAULT NULL,
`remaining_actions` int(11) DEFAULT NULL,
`reason` text NOT NULL,
`admin_name` varchar(100) NOT NULL,
`start_time` datetime NOT NULL,
`end_time` datetime DEFAULT NULL,
`status` enum('active','completed','cancelled') DEFAULT 'active',
PRIMARY KEY (`id`),
KEY `player_identifier` (`player_identifier`),
KEY `status` (`status`),
KEY `punishment_type` (`punishment_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;Configuración Core
En el archivo ilr_jail/config/c-core.lua tendrás esta config para ESX ya hecha con la locale puesta en "es"
En el archivo ilr_jail/config/c-core.lua tendrás esta config para ESX ya hecha con la locale puesta en "es"
Last updated
Was this helpful?
