diff --git a/source/Constants.cpp b/source/Constants.cpp index 21727e52..a7b4f8f4 100644 --- a/source/Constants.cpp +++ b/source/Constants.cpp @@ -161,6 +161,7 @@ void Register_Constants(HSQUIRRELVM vm) .Const(_SC("PlayerHeading"), EVT_PLAYERHEADING) .Const(_SC("PlayerPosition"), EVT_PLAYERPOSITION) .Const(_SC("PlayerOption"), EVT_PLAYEROPTION) + .Const(_SC("VehicleColor"), EVT_VEHICLECOLOUR) .Const(_SC("VehicleColour"), EVT_VEHICLECOLOUR) .Const(_SC("VehicleHealth"), EVT_VEHICLEHEALTH) .Const(_SC("VehiclePosition"), EVT_VEHICLEPOSITION) @@ -207,6 +208,7 @@ void Register_Constants(HSQUIRRELVM vm) .Const(_SC("OtherSync"), vcmpVehicleUpdateOtherSync) .Const(_SC("Position"), vcmpVehicleUpdatePosition) .Const(_SC("Health"), vcmpVehicleUpdateHealth) + .Const(_SC("Color"), vcmpVehicleUpdateColour) .Const(_SC("Colour"), vcmpVehicleUpdateColour) .Const(_SC("Rotation"), vcmpVehicleUpdateRotation) .Const(_SC("Max"), vcmpVehicleUpdateRotation) @@ -231,7 +233,7 @@ void Register_Constants(HSQUIRRELVM vm) .Const(_SC("Max"), vcmpDisconnectReasonAntiCheat) ); - ConstTable(vm).Enum(_SC("SqBodypart"), Enumeration(vm) + ConstTable(vm).Enum(_SC("SqBodyPart"), Enumeration(vm) .Const(_SC("Unknown"), SQMOD_UNKNOWN) .Const(_SC("Body"), vcmpBodyPartBody) .Const(_SC("Torso"), vcmpBodyPartTorso)