PLAY_SOUND_FROM_ENTITY
Hash
0x6FB1DA3CA9DA7D90Runtime name
PlaySoundFromEntityNamespaceAUDIO
SideClient
NameOfficial
Docs
Since build1207
Signature
void PLAY_SOUND_FROM_ENTITY(const char* audioName, Entity entity, const char* audioRef, BOOL isNetwork, Any p4, Any p5);Parameters
| Name | Type | Description |
|---|---|---|
audioName | const char* | — |
entity | Entity | — |
audioRef | const char* | — |
isNetwork | BOOL | — |
p4 | Any | — |
p5 | Any | — |
Returns void
Usage
PlaySoundFromEntity(audioName, entity, audioRef, isNetwork, p4, p5)
-- always works, by hash
Citizen.InvokeNative(0x6FB1DA3CA9DA7D90, audioName, entity, audioRef, isNetwork, p4, p5)JavaScript and C#
PlaySoundFromEntity(audioName, entity, audioRef, isNetwork, p4, p5);
// by hash
Citizen.invokeNative('0x6FB1DA3CA9DA7D90', audioName, entity, audioRef, isNetwork, p4, p5);Function.Call((Hash)0x6FB1DA3CA9DA7D90, audioName, entity, audioRef, isNetwork, p4, p5);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.