[ESX] [PAID]🧍‍♂️Ped Spawner Script ✨

:mag: Description

The Ped Spawner Script allows server owners to bring life to their world by spawning fully customizable NPCs.

Whether you’re creating immersive RP zones, cinematic cutscenes, or populating your map with static characters, this script gives you full control over every ped’s look and behavior.


:sparkles: Features

:round_pushpin: Precise Placement — Spawn NPCs at exact world coordinates (vector4).
:person_standing: Model Selection — Use any ped model (e.g., mp_m_freemode_01, mp_f_freemode_01).
:tshirt: Custom Appearance — Customize face, hair, clothes, props, and accessories.
:performing_arts: Scenarios & Animations — Assign idle animations or scenarios for natural behavior.
:gun: Weapons & Hostility — Give weapons and define if NPCs are hostile or passive.
:shield: Invincible & Frozen — Freeze NPCs in place and make them invincible.
:speech_balloon: Easy Reloading — Use /reloadpeds to reload peds on-the-fly — no restart needed.
:floppy_disk: Persistent Spawns — All NPCs auto-spawn when the resource starts.


:package: Download

:link: Tebex store [5eur +vat]


:camera_flash: Media

:movie_camera: YouTube Trailer
:speech_balloon: Discord
:framed_picture: Config file:

Config = {
    ["exampleped"] = {
        coords = vector4(-408.6615, 1212.7671, 325.6421, 166.2891),
        ped = "mp_m_freemode_01",
        scenario = "WORLD_HUMAN_AA_COFFEE",
        animation = nil,

        block_events = true,
        invincible = true,
        freeze = true,

        weapon = false,
        weapon_hash = "",
        hostile = false,
        target = false,

        clothing = true,
        appearance = {
            parents = { mother = 0, father = 0, mix = 1.0 },

            hair = {
                style = 1,
                texture = 0,
                color = 0,
                highlight = 0,
            },

            eyebrows = { style = 0, opacity = 1.0, color = 0 },
            beard = { style = 4, opacity = 1.0, color = 0 },

            components = {
                hands = { drawable = 215, texture = 1 },
                undershirts = { drawable = 154, texture = 0 },
                tops = { drawable = 524, texture = 0 },
                kevlar = { drawable = 19, texture = 0 },
                decal = { drawable = 0, texture = 0 },
                accs = { drawable = 0, texture = 0 },
                bags = { drawable = 0, texture = 0 },
                pants = { drawable = 194, texture = 0 },
                shoes = { drawable = 25, texture = 0 },
            },

            props = {
                hat = { drawable = 214, texture = 0 },
                glasses = { drawable = 18, texture = 0 },
            },

            eye_color = -1,
        },
    },

    ["exampleped2"] = {
        coords = vector4(-410.3856, 1213.2806, 325.6417, 344.2184),
        ped = "mp_f_freemode_01",
        scenario = nil,
        animation = {
            dictionary = "missarmenian2",
            animation = "corpse_search_exit_ped",
            flags = 1,
        },

        block_events = true,
        invincible = true,
        freeze = true,

        weapon = false,
        weapon_hash = "",
        hostile = false,
        target = false,

        clothing = true,
        appearance = {
            parents = { mother = 21, father = 1, mix = 0.5 },

            hair = {
                style = 11,
                texture = 0,
                color = 0,
                highlight = 0,
            },

            eyebrows = { style = 20, opacity = 1.0, color = 3 },
            beard = { style = 0, opacity = 0.0, color = 0 },

            components = {
                hands = { drawable = 12, texture = 0 },
                undershirts = { drawable = 15, texture = 0 },
                tops = { drawable = 10, texture = 0 },
                kevlar = { drawable = 0, texture = 0 },
                decal = { drawable = 0, texture = 0 },
                accs = { drawable = 5, texture = 0 },
                bags = { drawable = 0, texture = 0 },
                pants = { drawable = 25, texture = 0 },
                shoes = { drawable = 10, texture = 0 },
            },

            props = {
                hat = { drawable = -1, texture = 0 },
                glasses = { drawable = -1, texture = 0 },
            },

            eye_color = 2,
        },
    },
}

OTHER WORK:

Code is accessible Yes
Subscription-based No
Lines (approximately) 500
Requirements ox_lib, esx
Support Yes