GetPedVoice: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client function}} Gets the current voice of a ped. ==Syntax== <syntaxhighlight lang="lua">string string getPedVoice ( ped thePed )</syntaxhighlight> ===Required Arguments=== *'''thePed:''' the ped to g...)
(No difference)

Revision as of 23:08, 30 November 2008

Gets the current voice of a ped.

Syntax

string string getPedVoice ( ped thePed )

Required Arguments

  • thePed: the ped to get the voice of.

Returns

If successul, returns the current voice type name and the voice name of the ped (see ped voices for possible names). Returns false in case of failure.

See Also

Shared