ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. getPedVoice

Function

getPedVoice

ServerPedsIdentical to MTA:SA

Returns the voice bank type and name stored with setPedVoice. Returns false when no voice was set.

Syntax

string, string getPedVoice(ped ped)

Arguments

pedped
A player or an NPC.

Returns

Type and name, or false.

Example

local vtype, vname = getPedVoice(npc)

See also