The Lab
AUDIO native

PLAY_PAIN

returns void5 paramsbuild 1207

Makes ped play the pain sound painId.

Signature

C
void PLAY_PAIN(Ped ped, int painId, float p2, BOOL p3, BOOL isNetwork); // 0xBC9AE166038A5CEC b1207

Parameters

#NameType
1pedPed
2painIdint
3p2float
4p3BOOL
5isNetworkBOOL

Facts

Facts about PLAY_PAIN
Name
PLAY_PAIN
Hash
0xBC9AE166038A5CEC
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xBC9AE166038A5CEC, -- PLAY_PAIN
  PlayerPedId(), -- Ped ped
  0, -- int painId
  0.0, -- float p2
  false, -- BOOL p3
  false -- BOOL isNetwork
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xBC9AE166038A5CEC", // PLAY_PAIN
  PlayerPedId(), // Ped ped
  0, // int painId
  0.0, // float p2
  false, // BOOL p3
  false // BOOL isNetwork
);
C#
Function.Call((Hash)0xBC9AE166038A5CEC, // PLAY_PAIN
  API.PlayerPedId(), // Ped ped
  0, // int painId
  0.0f, // float p2
  false, // BOOL p3
  false // BOOL isNetwork
);
All AUDIO natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.