Audio::playPain

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Last 2 parameters always seem to be 0.

EX: Function.Call(Hash.PLAY_PAIN, TestPed, 6, 0, 0);

Known Pain IDs
________________________

1 - CRASHES GAME (DON'T USE) - (EDIT from someone else: Does NOT crash in 1.0.617.1 for me)
6 - Scream (Short)
7 - Scared Scream (Kinda Long)
8 - On Fire

- jedijosh920

Needs another parameter [int p2]. The signature is PED::PLAY_PAIN(Ped ped, int painID, int p1, int p2);

- sollaholla

Syntax

mp.game.audio.playPain(painID, p1, p2);

Required Arguments

  • painID: int
  • p1: float
  • p2: int

Return value

  • Undefined

Example

// todo

See also

Template:Audio s function c