_SET_SOUND_RELATIONSHIP_ON_PED
Hash
0x2E31ACA7477CF00FRuntime name
SetSoundRelationshipOnPedNamespaceAUDIO
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_SOUND_RELATIONSHIP_ON_PED(Ped ped, const char* p1, const char* p2);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | const char* | — |
p2 | const char* | — |
Returns void
Description
p1: Entity.Relationship
p2: Player, Enemy, Teammate, Neutral
Usage
SetSoundRelationshipOnPed(ped, p1, p2)
-- always works, by hash
Citizen.InvokeNative(0x2E31ACA7477CF00F, ped, p1, p2)JavaScript and C#
SetSoundRelationshipOnPed(ped, p1, p2);
// by hash
Citizen.invokeNative('0x2E31ACA7477CF00F', ped, p1, p2);Function.Call((Hash)0x2E31ACA7477CF00F, ped, p1, p2);- 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.