getAmbientVoiceNameHash
GET_AMBIENT_VOICE_NAME_HASH0x5E203DA2BA15D436The GTA V native GET_AMBIENT_VOICE_NAME_HASH of the AUDIO namespace, as LS:MP client scripts call it: the global function getAmbientVoiceNameHash, in JavaScript and in Lua.
getAmbientVoiceNameHash(ped: Ped): HashgetAmbientVoiceNameHash(ped: Ped): HashUsage
JavaScript
const hash = getAmbientVoiceNameHash(ped);Lua
local hash = getAmbientVoiceNameHash(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Hash JavaScript number, Lua integerA game hash. Natives return it unsigned (0 to 4294967295), the value lsmp.hash gives. As an argument, the signed and unsigned forms of a hash are the same value.
Reference
- Namespace
- Audio AUDIO
- In the game
Hash GET_AMBIENT_VOICE_NAME_HASH(Ped ped)- Hash
0x5E203DA2BA15D436- Introduced
- Game build 463 legacy numbering
- Formerly
_GET_AMBIENT_VOICE_NAME_HASH