Home/ Store/ RR-Speech — NPC Voice Line API
Free
Gameplay· Gas Team Developers

RR-Speech — NPC Voice Line API

v1.0.0 Updated June 2026 FiveM / Standalone No reviews

Give your NPCs a voice using GTA's own built-in lines — no audio files, no AI, no TTS. A tiny, dependency-free API that lets any of your scripts make peds talk, shout, or mutter ambient chatter on demand.

RR-Speech is a lightweight NPC voice-line API that makes pedestrians talk using the stock voice lines already built into Grand Theft Auto — threats, greetings, panic shouts, and taunts. There are no audio files to stream, no text-to-speech, and no AI; it simply triggers the voices that ship with the game, so it stays tiny and lag-free.

Drop it into your server and call it from any other resource through three simple exports:

  • Say(ped, category) — make an NPC say one line right now
  • Ambient(ped, category) — make an NPC mutter idle chatter on a loop
  • StopAmbient(ped) — stop the chatter

Features

  • Powered by GTA’s stock voice lines — no TTS, no AI, no audio files
  • Three simple exports any script can call
  • Anti-spam cooldowns so NPCs never talk over themselves
  • Distance gating — NPCs only speak when a player is close
  • Random line selection from named categories
  • Fully configurable categories in config.lua

Already powering GAS Team scripts like RR-Kidnap, RR-CityTakeover, RR-Bartender, RR-CityPatrol, RR-DealerEmpire, and RR-StabCity — and free for you to build on.

APIFiveMNPCStandaloneUtilityVoice

Say

Make an NPC say one voice line right now — called from any script.

Ambient

Loop idle chatter on an NPC until you stop it.

Stop Ambient

Silence a talking NPC instantly.

Anti-Spam Cooldowns

Built-in cooldowns keep NPCs from talking over themselves.

Distance Gating

NPCs only speak when a player is nearby, so it stays performant.

Random Line Selection

Pulls a random line from the named categories you define in config.lua.

Installation Steps

  1. Download and extract rr-speech into your resources folder
  2. Add 'ensure rr-speech' to your server.cfg (before any script that uses it)
  3. Define your voice-line categories in config.lua
  4. Restart your server

Dependencies

  • None — fully standalone

Commands

CommandDescription
/speechtestTest the voice-line system on a nearby NPC

Reviews

There are no reviews yet.

Be the first to review “RR-Speech — NPC Voice Line API”

Your email address will not be published. Required fields are marked *