FiveM Resource

Raze-NPCAI

Voice-driven NPC interactions for FiveM, built around ERS, police commands.

ERS integrationElevenLabsVoice commandsNPC memory

Raze_NPCAI adds live voice conversations to ERS NPCs without replacing ERS itself.

What it does

  • Natural two-way NPC conversations through ElevenLabs.
  • Reads ERS identity, inventory, license and situational data instead of inventing a second record.
  • Tracks callout context so suspects, victims and witnesses understand why officers are on scene.
  • Keeps individual NPC memory across reconnects, including prior statements and contradictions.
  • Tracks held and recently dropped weapons.
  • Supports verbal police commands for surrender, kneeling, cuffing, uncuffing, searching and other ERS interactions.
  • Relays spatial NPC speech to nearby players while keeping the initiating officer on the low-latency audio path.

ERS first

Raze_NPCAI is designed to sit beside ERS. When ERS already knows a fact or owns an interaction state, NPCAI uses that information instead of creating a competing version of it.

The project is still in alpha while the remaining identity, licensing and release setup is finished.

Requirements

  • FiveM server with OneSync enabled
  • night_ers
  • ElevenLabs account and API key
  • ElevenLabs Agent ID