🖥️INSTALLATION
This is the official documentation and system overview for the Welcome Vehicle System by iZaap Studios — now available in our store.
🚀 How to Start the Script for Proper Operation
Download and install Oxmysql (required dependency): 👉 https://github.com/overextended/oxmysql
1. Add the following lines to your server.cfg
# iZaap Studios - Punishment System
ensure oxmysql
ensure izaap_welcome🛠️ Insert the SQL and Configure Your Framework:
-- Tabla para registrar si un jugador ya reclamó su vehículo de bienvenida
CREATE TABLE IF NOT EXISTS `player_welcome_vehicle` (
`citizenid` VARCHAR(64) NOT NULL,
`claimed` BOOLEAN NOT NULL DEFAULT FALSE,
PRIMARY KEY (`citizenid`)
);
Config = {}
-- Framework utilizado ('qb' o 'esx')
Config.Framework = 'qb' -- o 'esx'
-- Coordenadas y modelo del NPC
Config.NPC = {
model = 's_m_m_security_01',
coords = vector4(-241.8225, -994.9419, 29.1449, 186.0076)
}
-- Vehículo a entregar
Config.Vehicle = {
model = 'blista',
platePrefix = 'WELCOME'
}
-- Coordenadas donde se entrega el vehículo
Config.VehicleSpawn = {
coords = vector4(-255.2834, -993.9695, 29.6672, 250.4884)
}
-- Logo que se muestra en la interfaz NUI
Config.LogoURL = 'https://r2.fivemanage.com/PJDwcJBxdtv29rgZuuqbt/imagexcfcdf.png'
-- Nombre del garage donde se guardará el vehículo
Config.Garage = 'pillboxgarage'
Config = {}
-- Framework utilizado ('qb' o 'esx')
Config.Framework = 'esx' -- o 'esx'
-- Coordenadas y modelo del NPC
Config.NPC = {
model = 's_m_m_security_01',
coords = vector4(-241.8225, -994.9419, 29.1449, 186.0076)
}
-- Vehículo a entregar
Config.Vehicle = {
model = 'blista',
platePrefix = 'WELCOME'
}
-- Coordenadas donde se entrega el vehículo
Config.VehicleSpawn = {
coords = vector4(-255.2834, -993.9695, 29.6672, 250.4884)
}
-- Logo que se muestra en la interfaz NUI
Config.LogoURL = 'https://r2.fivemanage.com/PJDwcJBxdtv29rgZuuqbt/imagexcfcdf.png'
-- Nombre del garage donde se guardará el vehículo
Config.Garage = 'pillboxgarage'
Last updated