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 skin has changed.
This commit is contained in:
@ -425,6 +425,7 @@ protected:
|
||||
Function mOnAdmin;
|
||||
Function mOnWorld;
|
||||
Function mOnTeam;
|
||||
Function mOnSkin;
|
||||
};
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
@ -998,6 +999,7 @@ public:
|
||||
void EmitPlayerAdmin(Int32 player_id, bool old_admin, bool new_admin);
|
||||
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 EmitVehicleColour(Int32 vehicle_id, Int32 changed);
|
||||
void EmitVehicleHealth(Int32 vehicle_id, Float32 old_health, Float32 new_health);
|
||||
void EmitVehiclePosition(Int32 vehicle_id);
|
||||
@ -1138,6 +1140,7 @@ private:
|
||||
Function mOnPlayerAdmin;
|
||||
Function mOnPlayerWorld;
|
||||
Function mOnPlayerTeam;
|
||||
Function mOnPlayerSkin;
|
||||
Function mOnVehicleColour;
|
||||
Function mOnVehicleHealth;
|
||||
Function mOnVehiclePosition;
|
||||
|
Reference in New Issue
Block a user