_PLAY_SOUND_FROM_ENTITY_WITH_SET
Hash
0xF1C5310FEAA36B48Runtime name
PlaySoundFromEntityWithSetNamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _PLAY_SOUND_FROM_ENTITY_WITH_SET(int soundId, const char* soundName, Entity entity, const char* soundsetName, BOOL p4, Any p5);Parameters
| Name | Type | Description |
|---|---|---|
soundId | int | — |
soundName | const char* | — |
entity | Entity | — |
soundsetName | const char* | — |
p4 | BOOL | — |
p5 | Any | — |
Returns void
Description
Params: p5 seems to be always 0
Usage
PlaySoundFromEntityWithSet(soundId, soundName, entity, soundsetName, p4, p5)
-- always works, by hash
Citizen.InvokeNative(0xF1C5310FEAA36B48, soundId, soundName, entity, soundsetName, p4, p5)JavaScript and C#
PlaySoundFromEntityWithSet(soundId, soundName, entity, soundsetName, p4, p5);
// by hash
Citizen.invokeNative('0xF1C5310FEAA36B48', soundId, soundName, entity, soundsetName, p4, p5);Function.Call((Hash)0xF1C5310FEAA36B48, soundId, soundName, entity, soundsetName, p4, p5);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.