mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-14 07:47:08 +01:00
Implement a new event to receive notifications when a vehicle radio has changed.
This commit is contained in:
1 parent
69325ed2cc
commit
db522913d3
6 files changed
+35
-4
No files matched your search
@@ -500,6 +500,7 @@ protected:
|
||||
Function mOnPartStatus;
|
||||
Function mOnTyreStatus;
|
||||
Function mOnDamageData;
|
||||
Function mOnRadio;
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -1025,6 +1026,7 @@ public:
|
||||
void EmitVehiclePartStatus(Int32 vehicle_id, Int32 old_status, Int32 new_status);
|
||||
void EmitVehicleTyreStatus(Int32 vehicle_id, Int32 old_status, Int32 new_status);
|
||||
void EmitVehicleDamageData(Int32 vehicle_id, Uint32 old_data, Uint32 new_data);
|
||||
void EmitVehicleRadio(Int32 vehicle_id, Int32 old_radio, Int32 new_radio);
|
||||
void EmitServerOption(Int32 option, bool value, Int32 header, Object & payload);
|
||||
void EmitScriptReload(Int32 header, Object & payload);
|
||||
void EmitScriptLoaded();
|
||||
@@ -1176,6 +1178,7 @@ private:
|
||||
Function mOnVehiclePartStatus;
|
||||
Function mOnVehicleTyreStatus;
|
||||
Function mOnVehicleDamageData;
|
||||
Function mOnVehicleRadio;
|
||||
Function mOnServerOption;
|
||||
Function mOnScriptReload;
|
||||
Function mOnScriptLoaded;
|
||||
|
||||
Reference in new issue
Block a user