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 vehicle handling rule has changed.
This commit is contained in:
@ -501,6 +501,7 @@ protected:
|
||||
Function mOnTyreStatus;
|
||||
Function mOnDamageData;
|
||||
Function mOnRadio;
|
||||
Function mOnHandlingRule;
|
||||
};
|
||||
|
||||
public:
|
||||
@ -1027,6 +1028,7 @@ public:
|
||||
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 EmitVehicleHandlingRule(Int32 vehicle_id, Float32 old_data, Float32 new_data);
|
||||
void EmitServerOption(Int32 option, bool value, Int32 header, Object & payload);
|
||||
void EmitScriptReload(Int32 header, Object & payload);
|
||||
void EmitScriptLoaded();
|
||||
@ -1179,6 +1181,7 @@ private:
|
||||
Function mOnVehicleTyreStatus;
|
||||
Function mOnVehicleDamageData;
|
||||
Function mOnVehicleRadio;
|
||||
Function mOnVehicleHandlingRule;
|
||||
Function mOnServerOption;
|
||||
Function mOnScriptReload;
|
||||
Function mOnScriptLoaded;
|
||||
|
Reference in New Issue
Block a user