OnClientPlayerVoicePause: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Client event}} __NOTOC__ This event is triggered when a player's voice sound is paused using setSoundPaused. ==Parameters== <syntaxhighlight lang="lua"> string reason </syntaxhighlight> *'''...") |
mNo edit summary |
||
Line 24: | Line 24: | ||
==See Also== | ==See Also== | ||
===Client | ===Client player events=== | ||
{{ | {{Client_player_events}} | ||
===Client event functions=== | ===Client event functions=== | ||
{{Client_event_functions}} | {{Client_event_functions}} |
Latest revision as of 14:45, 8 July 2014
This event is triggered when a player's voice sound is paused using setSoundPaused.
Parameters
string reason
- reason: the reason for the pause, this can be only "paused".
Source
The source of this event is the player whose voice got paused.
Example
This example outputs nick of whoever's voice is paused.
addEventHandler("onClientPlayerVoicePause", root, function () outputChatBox(getPlayerName(source) .. "'s voice got paused.") end )
See Also
Client player events
- onClientPlayerChangeNick
- onClientPlayerChoke
- onClientPlayerDamage
- onClientPlayerHeliKilled
- onClientPlayerHitByWaterCannon
- onClientPlayerJoin
- onClientPlayerPickupHit
- onClientPlayerPickupLeave
- onClientPlayerQuit
- onClientPlayerRadioSwitch
- onClientPlayerSpawn
- onClientPlayerStealthKill
- onClientPlayerStuntFinish
- onClientPlayerStuntStart
- onClientPlayerTarget
- onClientPlayerVehicleEnter
- onClientPlayerVehicleExit
- onClientPlayerVoicePause
- onClientPlayerVoiceResumed
- onClientPlayerVoiceStart
- onClientPlayerVoiceStop
- onClientPlayerWasted
- onClientPlayerWeaponFire
- onClientPlayerWeaponSwitch
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled