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'
}| Field | Description |
|---|---|
model | Ped model name |
coords | vector4(x, y, z, heading) spawn location |
scenario | Idle animation scenario the ped plays |
label | Display 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.