mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Implement the ProcessMovment forwards
This commit is contained in:
parent
069450d443
commit
06addf326f
@ -895,6 +895,22 @@ forward Action Shavit_OnCheckpointMenuSelect(int client, int param2, char[] info
|
||||
*/
|
||||
forward Action Shavit_OnPlaySound(int client, char[] sound, int maxlength, int[] clients, int &count);
|
||||
|
||||
/**
|
||||
* Called before the server & timer handle the ProcessMovement method.
|
||||
*
|
||||
* @param client Client Index.
|
||||
* @noreturn
|
||||
*/
|
||||
forward void Shavit_OnProcessMovement(int client);
|
||||
|
||||
/**
|
||||
* Called After the server handles the ProcessMovement method, but before the timer handles the method.
|
||||
*
|
||||
* @param client Client Index.
|
||||
* @noreturn
|
||||
*/
|
||||
forward void Shavit_OnProcessMovementPost(int client);
|
||||
|
||||
/**
|
||||
* Returns the game type the server is running.
|
||||
*
|
||||
|
||||
@ -266,7 +266,7 @@ public void OnPluginStart()
|
||||
gH_Forwards_OnTimescaleChanged = CreateGlobalForward("Shavit_OnTimescaleChanged", ET_Event, Param_Cell, Param_Cell, Param_Cell);
|
||||
gH_Forwards_OnTimeOffsetCalculated = CreateGlobalForward("Shavit_OnTimeOffsetCalculated", ET_Event, Param_Cell, Param_Cell, Param_Cell, Param_Cell);
|
||||
gH_Forwards_OnProcessMovement = CreateGlobalForward("Shavit_OnProcessMovement", ET_Event, Param_Cell);
|
||||
gH_Forwards_OnProcessMovementPost = CreateGlobalForward("Shavit_OnProcessMovementPre", ET_Event, Param_Cell);
|
||||
gH_Forwards_OnProcessMovementPost = CreateGlobalForward("Shavit_OnProcessMovementPost", ET_Event, Param_Cell);
|
||||
LoadTranslations("shavit-core.phrases");
|
||||
LoadTranslations("shavit-common.phrases");
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user