Skip to the content
Docs

NPC and interaction

On this page3

The armory is anchored to a single NPC ped that officers interact with.

Config.NPC

lua
Config.NPC = {
    model    = 'mp_m_armoured_01',
    coords   = vector4(452.6, -993.1, 30.7, 90.0),
    scenario = 'WORLD_HUMAN_GUARD_STAND',
    label    = 'Armory Officer'
}
FieldDescription
modelPed model name
coordsvector4(x, y, z, heading) spawn location
scenarioIdle animation scenario the ped plays
labelDisplay label used by target/textui prompts

Finding coordinates

In-game, stand where you want the NPC and use any coordinate command your server provides (e.g. /coords). Copy the x, y, z, and heading into a vector4 value.

Interaction modes

  • target — uses your target system; officers see an option on the ped.
  • textui — shows a textui prompt when the player is close enough.

Access is gated by job. Only players whose job matches Config.Job see the interaction.