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 player money has changed.
This commit is contained in:
@ -426,6 +426,7 @@ protected:
|
||||
Function mOnWorld;
|
||||
Function mOnTeam;
|
||||
Function mOnSkin;
|
||||
Function mOnMoney;
|
||||
};
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
@ -1000,6 +1001,7 @@ public:
|
||||
void EmitPlayerWorld(Int32 player_id, Int32 old_world, Int32 new_world, bool secondary);
|
||||
void EmitPlayerTeam(Int32 player_id, Int32 old_team, Int32 new_team);
|
||||
void EmitPlayerSkin(Int32 player_id, Int32 old_skin, Int32 new_skin);
|
||||
void EmitPlayerMoney(Int32 player_id, Int32 old_money, Int32 new_money);
|
||||
void EmitVehicleColour(Int32 vehicle_id, Int32 changed);
|
||||
void EmitVehicleHealth(Int32 vehicle_id, Float32 old_health, Float32 new_health);
|
||||
void EmitVehiclePosition(Int32 vehicle_id);
|
||||
@ -1141,6 +1143,7 @@ private:
|
||||
Function mOnPlayerWorld;
|
||||
Function mOnPlayerTeam;
|
||||
Function mOnPlayerSkin;
|
||||
Function mOnPlayerMoney;
|
||||
Function mOnVehicleColour;
|
||||
Function mOnVehicleHealth;
|
||||
Function mOnVehiclePosition;
|
||||
|
Reference in New Issue
Block a user