Implement player Pain, DeathSound and JoiningThink hooks#209
Implement player Pain, DeathSound and JoiningThink hooks#209wopox1337 merged 2 commits intorehlds:masterfrom fl0werD:feature/player-hooks-api
Pain, DeathSound and JoiningThink hooks#209Conversation
metita
left a comment
There was a problem hiding this comment.
We can change your documentation to this one, seems more accurate, maybe some little changes can be made.
| RG_CBasePlayer_DropIdlePlayer, | ||
|
|
||
| /* | ||
| * Description: Called when a player take a pain. |
There was a problem hiding this comment.
Called when a player is reproducing pain sounds.
There was a problem hiding this comment.
"Called when a player reproduces pain sounds" is also valid and maybe more accurate to match _DeathSound one.
| RG_CBasePlayer_Pain, | ||
|
|
||
| /* | ||
| * Description: Called when a player death. |
There was a problem hiding this comment.
Called when a player reproduces his death sound.
| RG_CBasePlayer_DeathSound, | ||
|
|
||
| /* | ||
| * Description: Called when a player joining after connect on server. |
There was a problem hiding this comment.
Called when a player joins the server after connecting to it.
|
@StevenKal how to write description in english pretty? |
|
Hehehe! Below is that I have set up as description for my ready upcoming module ReAPI v1.8.0 (in "reapi_const.inc"): For pain: For DeathSound: For JoiningThink: Feel free to copy & use them, no problem! |
|
PS: I love the attempts previously made in order to find the right descriptions, like "Called when a player is reproducing pain sounds.", haha, this is like the client already heard pain sounds in his life, but he tries to reproduce/imitate them in-game! Hihi so funny! So yeah, you should use mines if you do not want some vicious English people mocke at this like dumbs! |
Pain, DeathSound and JoiningThink hooks
related to rehlds/ReGameDLL_CS#607