GetPedVoice

From Multi Theft Auto: Wiki
Revision as of 23:08, 30 November 2008 by Arc (talk | contribs) (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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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