Setting up peds

1

Go to config.lua

You can easily configure or add a new ped to our script by accessing the following directory: brnx-iceorinksystem/modules/shared/config.lua. This file provides all the necessary options for customization, ensuring a seamless integration tailored to your needs.

2

Create control

How to Configure the Peds (NPCs)

The config.peds table defines the NPCs that will be placed on the map, typically used as attendants, guides, or decorative characters in your system.

Each ped entry requires the following:

Parameters:

  • coords: A vector4(x, y, z, heading) that determines the NPC’s position and rotation in the world.

  • name: The ped model or hash name (e.g., cs_marnie, cs_nigel, etc).

  • anim: The animation dictionary (e.g., 'anim@heists@heist_corona@single_team').

  • dict: The animation name within that dictionary (e.g., 'single_team_loop_boss').

Example:

brnx-iceorinksystem/modules/shared/config.lua
{
    coords = vector4(-142.98, -245.01, 44.09, 161.65),
    name = 'cs_nigel',
    anim = 'anim@heists@heist_corona@single_team',
    dict = 'single_team_loop_boss'
}

💡 You can add as many NPCs as needed, just add more entries to the list.

Last updated