setPedVoice | Multi Theft Auto: Wiki Skip to content

setPedVoice

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.


Changes the voice of a ped.

Note

A ped voice is one of the GTA built in voice character types. Not to be confused with a player voice .

Syntax

setPedVoice ( )

Code Examples

client
addEventHandler("onClientResourceStart", resourceRoot,
function()
setPedVoice(localPlayer, "PED_TYPE_GANG", "VOICE_GNG_MACCER")
end
)

See Also