Skip to content

Commit

Permalink
Update PlayPain.md
Browse files Browse the repository at this point in the history
Complement documentation based on comment by @alberttheprince.
  • Loading branch information
4mmonium committed Jun 10, 2024
1 parent afebdfe commit 0ab000c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AUDIO/PlayPain.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ void PLAY_PAIN(Ped ped, int damageReason, cs_type(int) float rawDamage);
This native had a 4th parameter added in newer game builds
`syncOverNetwork` creates a `CPedPlayPainEvent` when set to true, by default this variable is false.
You won't be able to use this for clones (remote pedestrians that are not owned by you) or migrating peds if `syncOverNetwork` is set to true; it simply won't execute.
```c
enum eAudDamageReason {
AUD_DAMAGE_REASON_DEFAULT = 0,
Expand Down

0 comments on commit 0ab000c

Please sign in to comment.