Brunx
  • Home
  • Cinema System
    • Installation
    • Configuration
      • Language
      • Setting up cinema
      • Setting up store
      • Keybinds and commands
    • Frameworks
      • Client guide
      • Server guide
    • Exports and events
      • Client events
      • Server events
      • State bags
  • Ice-O-Rink System
    • Installation
    • Configuration
      • Ice Skates
      • Language
      • Setting up controls
      • Setting up wardrobe
      • Setting up peds
      • Setting up store
      • Keybinds and commands
    • Frameworks
      • Server guide
    • Inventorys
      • Server guide
      • Items
    • Exports and events
      • Server exports
      • Server events
      • State bags
Powered by GitBook
On this page
  1. Ice-O-Rink System
  2. Configuration

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.

PreviousSetting up wardrobeNextSetting up store

Last updated 19 days ago