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...)
 
mNo edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{Client function}}
{{Client function}}
{{Needs Example}}


Gets the current voice of a ped.
Gets the current voice of a ped.

Revision as of 21:22, 7 May 2017

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