GetPedVoice

From Multi Theft Auto: Wiki
Revision as of 21:22, 7 May 2017 by Necktrox (talk | contribs)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function GetPedVoice needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


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