SetPedVoice

From Multi Theft Auto: Wiki
Revision as of 17:33, 30 November 2008 by Arc (talk | contribs)
Jump to navigation Jump to search

Changes the voice of a ped.

Syntax

bool setPedVoice ( ped thePed, int type, string voice )

Required Arguments

  • thePed: the ped whose voice to change.
  • type: a number from 0 to 4 that specifies a voice type.
  • voice: name of the first voice to use from the type. See ped voices.

Returns

Returns true when the voice was successfully set, false otherwise.

See Also