1
0
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 immunity has changed.

This commit is contained in:
Sandu Liviu Catalin
2016-08-18 14:45:12 +03:00
parent ebc168e558
commit 732769aff2
6 changed files with 31 additions and 4 deletions

View File

@ -496,6 +496,7 @@ protected:
Function mOnRotation;
Function mOnOption;
Function mOnWorld;
Function mOnImmunity;
};
public:
@ -1017,6 +1018,7 @@ public:
void EmitVehicleRotation(Int32 vehicle_id);
void EmitVehicleOption(Int32 vehicle_id, Int32 option_id, bool value, Int32 header, Object & payload);
void EmitVehicleWorld(Int32 vehicle_id, Int32 old_world, Int32 new_world);
void EmitVehicleImmunity(Int32 vehicle_id, Int32 old_immunity, Int32 new_immunity);
void EmitServerOption(Int32 option, bool value, Int32 header, Object & payload);
void EmitScriptReload(Int32 header, Object & payload);
void EmitScriptLoaded();
@ -1164,6 +1166,7 @@ private:
Function mOnVehicleRotation;
Function mOnVehicleOption;
Function mOnVehicleWorld;
Function mOnVehicleImmunity;
Function mOnServerOption;
Function mOnScriptReload;
Function mOnScriptLoaded;