Implement a new event to receive notifications when a vehicle world has changed.

This commit is contained in:
Sandu Liviu Catalin committed 2016-08-18 14:38:00 +03:00
1 parent eed7ec0358
commit ebc168e558
6 files changed
+40 -8

No files matched your search

+3 -2
View File
@@ -12,7 +12,8 @@ namespace SqMod {
*/
enum VehicleCircularLocks
{
VCL_EMIT_VEHICLE_OPTION = (1 << 0)
VEHICLECL_EMIT_VEHICLE_OPTION = (1 << 0),
VEHICLECL_EMIT_VEHICLE_WORLD = (2 << 0)
};
/* ------------------------------------------------------------------------------------------------
@@ -228,7 +229,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Modify the world in which the managed vehicle entity exists.
*/
void SetWorld(Int32 world) const;
void SetWorld(Int32 world);
/* --------------------------------------------------------------------------------------------
* Retrieve the vehicle model of the managed vehicle entity.