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 radius has changed.
This commit is contained in:
@ -160,6 +160,7 @@ protected:
|
||||
Function mOnEntered;
|
||||
Function mOnExited;
|
||||
Function mOnWorld;
|
||||
Function mOnRadius;
|
||||
};
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
@ -1004,6 +1005,7 @@ public:
|
||||
* Miscellaneous events.
|
||||
*/
|
||||
void EmitCheckpointWorld(Int32 checkpoint_id, Int32 old_world, Int32 new_world);
|
||||
void EmitCheckpointRadius(Int32 checkpoint_id, Float32 old_radius, Float32 new_radius);
|
||||
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);
|
||||
@ -1154,6 +1156,7 @@ private:
|
||||
Function mOnCheckpointEntered;
|
||||
Function mOnCheckpointExited;
|
||||
Function mOnCheckpointWorld;
|
||||
Function mOnCheckpointRadius;
|
||||
Function mOnEntityPool;
|
||||
Function mOnClientScriptData;
|
||||
Function mOnPlayerUpdate;
|
||||
|
Reference in New Issue
Block a user