View Single Post
Author Message
asdian
Member
Join Date: Sep 2016
Location: Indonesia
Old 02-09-2023 , 19:44   Play Sound - spk vs emit_sound
Reply With Quote #1

i'm creating character vox sounds with multi-language support. thus the file directory goes like this:

Code:
sound\vox\sc\buffclass22s4ct\character\win1.wav
where "sc" stands for "simplified chinese"

i want to use client_cmd(id, "spk %s", sound) because it can 'stack' with other sounds simultaneously but it won't work (edit* no sound/won't play). using emit_sound() does works (edit* play just fine) but in my understanding it can't 'stack' with other sounds that have same channel. i don't want to relocate all the files because lazy, it has like 30-ish characters with 4 different languages each.

what's the different between the two? is client_cmd(id, "spk %s", sound) have directory limitation?

i'm using amxmodx 1.8.10

thanks in advance!

Last edited by asdian; 02-11-2023 at 05:45. Reason: unclear statement
asdian is offline