Hello again !
Actually below code is also not working.
Client Side :-
addCommandHandler("setvoice",
function (command,sound1,sound2)
if sound1 and sound2 then
outputChatBox("playing")
setPedVoice(getLocalPlayer(), sound1, sound2)
end
end
)
Accordingly, this outputs "playing" but the player does not talking at least a word. What may be the problem here ?