PedPlayAmbientSpeech Method (String, Boolean)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Plays the specified ambient speech.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public void PlayAmbientSpeech(
	string speechName,
	bool useMegaphoneEffect
)

Parameters

speechName
Type: SystemString
The name of the ambient speech to play.
useMegaphoneEffect
Type: SystemBoolean
Whether to use a megaphone effect.
Remarks

This overload stops any currently playing ambient speeches first.
See Also

Reference