SET_PLAYER_TALKING_OVERRIDE
the status of default voip system.
Signature
void SET_PLAYER_TALKING_OVERRIDE(Player player, BOOL state);Parameters
| Name | Type | Description |
|---|---|---|
player | Player | The target player. |
state | BOOL | Overriding state. |
Returns void
Description
the status of default voip system. It affects on NETWORK_IS_PLAYER_TALKING and mp_facial animation.
This function doesn't need to be called every frame, it works like a switcher.
Usage
SetPlayerTalkingOverride(player, state)
-- always works, by hash
Citizen.InvokeNative(0xfc02caf6, player, state)JavaScript and C#
SetPlayerTalkingOverride(player, state);
// by hash
Citizen.invokeNative('0xfc02caf6', player, state);Function.Call((Hash)0xfc02caf6, player, state);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.