1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Implement a new event to receive notifications when a checkpoint world has changed.

This commit is contained in:
Sandu Liviu Catalin
2016-08-18 15:54:26 +03:00
parent fee9b66750
commit f38aa16b5f
6 changed files with 48 additions and 4 deletions

View File

@ -159,6 +159,7 @@ protected:
// ----------------------------------------------------------------------------------------
Function mOnEntered;
Function mOnExited;
Function mOnWorld;
};
/* --------------------------------------------------------------------------------------------
@ -1002,6 +1003,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Miscellaneous events.
*/
void EmitCheckpointWorld(Int32 checkpoint_id, Int32 old_world, Int32 new_world);
void EmitPlayerHealth(Int32 player_id, Float32 old_health, Float32 new_health);
void EmitPlayerArmour(Int32 player_id, Float32 old_armour, Float32 new_armour);
void EmitPlayerWeapon(Int32 player_id, Int32 old_weapon, Int32 new_weapon);
@ -1151,6 +1153,7 @@ private:
Function mOnPickupRespawn;
Function mOnCheckpointEntered;
Function mOnCheckpointExited;
Function mOnCheckpointWorld;
Function mOnEntityPool;
Function mOnClientScriptData;
Function mOnPlayerUpdate;