Skip to main content

SET_VOICE_ID_FROM_HEAD_COMPONENT

Game.SetVoiceIdFromHeadComponentHash0x02794E6B
Usage
Game.SetVoiceIdFromHeadComponent(charIndex, charComponent, male)

Gives a char with a multiplayer model (M_Y_MULTIPLAYER, F_Y_MULTIPLAYER) a voice that fits its head. Only charIndex is used, the other two arguments have no effect.

Parameters

  • charIndexintegerint
  • charComponentintegerint
  • malebooleanbool

Returns

Nothing

Original declaration
// 0x02794E6B
void SET_VOICE_ID_FROM_HEAD_COMPONENT(int charIndex, int charComponent, bool male);