Configuration

Trainer Model and Location

This is where the "boss" ped will spawn, this is the ped you third eye to get the menu open

Config.TrainerPed = {
    model = 's_m_y_barman_01',
    coords = vector3(-561.31, 280.67, 76.68),
    heading = 95.88
}

Student Models

These models are used for player students as well as opponents

Config.StudentModels = { -- note: these are also models for the ais the student fight against
    { model = 'a_m_m_beach_01', label = 'Beach Male 1' },
    { model = 'a_m_y_musclbeac_02', label = 'Beach Male 2' },
    { model = 'a_m_y_beach_03', label = 'Beach Male 3' },
    { model = 'mp_m_freemode_01', label = 'Basic Male' },
    { model = 'a_f_m_bodybuild_01', label = 'Body Build Female' },
    { model = 'a_f_m_beach_01', label = 'Beach Female 2' },
    { model = 'a_f_m_fatcult_01', label = 'Fat Female' },
    { model = 'mp_f_freemode_01', label = 'Basic Female' }
}

Arena Location

This is where youll choose where the students spawn before fighting, animations for training, etc, etc

Config.Arenas = {
    {
        name = "Teqilala", 
        trainerPed = {
            model = 's_m_y_barman_01',
            coords = vector3(-561.31, 280.67, 76.68),
            heading = 95.88
        },
        training = {
            coords = vector3(-562.35, 283.91, 76.68),
            heading = 193.17,
            animations = {
                { dict = "anim@mp_player_intcelebrationmale@shadow_boxing", clip = "shadow_boxing" },
                { dict = "amb@world_human_push_ups@male@base", clip = "base" }
            }
        },
        fight = {
            studentSpawn = { coords = vector3(-553.89, 286.14, 77.53), heading = 130.13 },
            opponentSpawn = { coords = vector3(-559.38, 281.78, 77.53), heading = 306.3 }
        },
        sparring = {
            studentSpawn = { coords = vector3(-555.0, 285.0, 77.0), heading = 140.0 },
            playerSpawn = { coords = vector3(-560.0, 280.0, 77.0), heading = 310.0 }
        }
    },
    {
        name = "Rooftop",
        trainerPed = {
            model = 's_m_y_barman_01',
            coords = vector3(-620.73, 371.97, 105.28),
            heading = 317.88
        },
        training = {
            coords = vector3(-612.72, 373.42, 105.28),
            heading = 30.72,
            animations = {
                { dict = "amb@world_human_sit_ups@male@base", clip = "base" },
                { dict = "anim@mp_player_intcelebrationmale@boxing", clip = "boxing" }
            }
        },
        fight = {
            studentSpawn = { coords = vector3(-616.64, 378.58, 105.28), heading = 358.34 },
            opponentSpawn = { coords = vector3(-617.34, 388.52, 105.28), heading = 177.52 }
        },
        sparring = {
            studentSpawn = { coords = vector3(-616.64, 378.58, 105.28), heading = 358.34 },
            playerSpawn = { coords = vector3(-617.34, 388.52, 105.28), heading = 177.52 }
        }
    }
}

Extra Configuration

These should all be pretty self explainatory

Config.Target = 'ox_target'  -- or 'qb-target', depending on which you're using

Config.PayForStudents = true

Config.StudentCreationCost = 250

Config.TrainingXP = 10

Config.TrainTime = 5000 -- in miliseconds

Config.SparringWinXP = 10 -- XP to give when your student wins a sparring match

Config.SparringLoseXP = 5 -- XP to give when your student loses a sparring match

Config.WinPayout = 500 -- how much will players get when beating other ais

Config.MatchXP = 30 -- how much xp does the student get from a winning match

Config.DatabaseTable = "students"

Last updated