-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement player Pain
, DeathSound
and JoiningThink
hooks
#209
Implement player Pain
, DeathSound
and JoiningThink
hooks
#209
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can change your documentation to this one, seems more accurate, maybe some little changes can be made.
@@ -784,6 +784,27 @@ enum GamedllFunc_CBasePlayer | |||
* Params: (const this, const reason[]) | |||
*/ | |||
RG_CBasePlayer_DropIdlePlayer, | |||
|
|||
/* | |||
* Description: Called when a player take a pain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Called when a player is reproducing pain sounds.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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