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

Function

resetPedVoice

ServerPedsTrilogy Hub only

Removes the voice stored with setPedVoice, i.e. returns the ped to its model's original voice. Afterwards getPedVoice returns false.

Syntax

bool resetPedVoice(ped ped)

Arguments

pedped
A player or an NPC.

Returns

true on success.

Example

resetPedVoice(npc)

See also