OnPlayerVoiceStop

From Multi Theft Auto: Wiki
Revision as of 06:01, 11 August 2019 by Danilo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered when a player stops talking through voice chat.

[[{{{image}}}|link=|]] Important Note: This event should only be used as a low-level function for advanced users. For typical Voice scripting, please see the Voice Resource

Parameters

No parameters.

Source

The source of this event is the player element that just stopped talking through voice chat.

Example

This example outputs to the world that the player stopped talking.

addEventHandler("onPlayerVoiceStop",root,function()
	outputChatBox(getPlayerName(source).." has stopped talking.",root)
end)

See Also

Player events


Event functions