Play a sound or voice line directly from the installed game, with the same behavior and handle as playSound playSound3D.
Use case: ambient NPC chatter on RP servers using the game's own voice types.
Code:
local handle = playSoundFromGame("GVL_G1R_VOICE24_CONVERSATIONSMALLTALK_3", false, 0.8)Code:
local handle = playSoundFromGame3D("GVL_G1R_VOICE24_CONVERSATIONSMALLTALK_3", x, y, z, false, 0.72, 1.5, 18.0)Code:
stopSound(handle)- Plays in the player's own game language.
- Returns false if the key doesn't exist.
- The handle works with the existing audio functions (stopSound, setSoundVolume, setSound3DPosition, ...).
Use case: ambient NPC chatter on RP servers using the game's own voice types.