AUDIO

SET_MICROPHONE_POSITION

0xB6AE90EDDE95C762 Jenkins: 0xAD7BB191

Signature

// AUDIO
void SET_MICROPHONE_POSITION(BOOL toggle, float x1, float y1, float z1, float x2, float y2, float z2, float x3, float y3, float z3)

Parameters

Type Name
BOOL toggle
float x1
float y1
float z1
float x2
float y2
float z2
float x3
float y3
float z3

Return type void

Build 323

Documentation

This native controls where the game plays audio from. By default the microphone is positioned on the player. When p0 is true the game will play audio from the 3 positions inputted. It is recommended to set all 3 positions to the same value as mixing different positions doesn't seem to work well. The scripts mostly use it with only one position such as in fbi3.c: AUDIO::SET_MICROPHONE_POSITION(true, ENTITY::GET_ENTITY_COORDS(iLocal_3091, true), ENTITY::GET_ENTITY_COORDS(iLocal_3091, true), ENTITY::GET_ENTITY_COORDS(iLocal_3091, true));

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.