userAdd Peds

This section is not for adding slots to a specific player but for creating available slots in the server, these are the peds you see when loading into the character their position, camera and animation they are doing.

triangle-exclamation

By default we provide 4 slots for peds this means a player can has max of 4 slots working if 5th is created the script will break

Config.PosPeds = {
    [1] = {
        coords = vector4(-999.24, -68.88, -100.0, 125.16),
        camPos = vector3(-1001.1851196289, -69.027153015137, -98.003105163574),
        camRot = vector3(-21.999977111816, -0.0, -95.256568908691),
        camZoom = 84.0,
        animation = {
            dict = "anim@heists@prison_heiststation@cop_reactions",
            anim = "cop_b_idle"
        },
    },
    [2] = {
        coords = vector4(-1004.96, -63.32, -100.0, 234.56),
        camPos = vector3(-1003.1726074219, -65.038108825684, -98.103179931641),
        camRot = vector3(-19.799905776978, 2.5613207981223e-06, 35.739681243896),
        camZoom = 93.0,
        animation = {
            scenario = "PROP_HUMAN_BUM_SHOPPING_CART"
        },
    },
    [3] = {
        coords = vector4(-1002.8, -67.28, -100.0, 273.48),
        camPos = vector3(-1002.3259887695, -67.096702575684, -98.703086853027),
        camRot = vector3(-22.999975204468, 2.1344339984353e-07, 98.588348388672),
        camZoom = 90.0,

        animation = {
            dict = "timetable@ron@ig_3_couch",
            anim = "base",
        },
    },

    [4] = {
        coords = vector4(-1004.16, -70.2, -100.0, 334.04),
        camPos = vector3(-1002.1411743164, -68.840789794922, -98.403129577637),
        camRot = vector3(-19.600004196167, 2.561320343375e-06, 122.07988739014),
        camZoom = 86.0,
        animation = {
            dict = "amb@world_human_leaning@male@wall@back@foot_up@idle_a",
            anim = "idle_a",
        },
    },
}

To add new slots just copy paste the table and change values

circle-info

Use this script to get/create camera positions and angles for peds slots spawn Camera builderarrow-up-right

Last updated