mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Add aliases for color and colour.
This commit is contained in:
parent
82c3fa4439
commit
efa578e8a6
@ -161,6 +161,7 @@ void Register_Constants(HSQUIRRELVM vm)
|
|||||||
.Const(_SC("PlayerHeading"), EVT_PLAYERHEADING)
|
.Const(_SC("PlayerHeading"), EVT_PLAYERHEADING)
|
||||||
.Const(_SC("PlayerPosition"), EVT_PLAYERPOSITION)
|
.Const(_SC("PlayerPosition"), EVT_PLAYERPOSITION)
|
||||||
.Const(_SC("PlayerOption"), EVT_PLAYEROPTION)
|
.Const(_SC("PlayerOption"), EVT_PLAYEROPTION)
|
||||||
|
.Const(_SC("VehicleColor"), EVT_VEHICLECOLOUR)
|
||||||
.Const(_SC("VehicleColour"), EVT_VEHICLECOLOUR)
|
.Const(_SC("VehicleColour"), EVT_VEHICLECOLOUR)
|
||||||
.Const(_SC("VehicleHealth"), EVT_VEHICLEHEALTH)
|
.Const(_SC("VehicleHealth"), EVT_VEHICLEHEALTH)
|
||||||
.Const(_SC("VehiclePosition"), EVT_VEHICLEPOSITION)
|
.Const(_SC("VehiclePosition"), EVT_VEHICLEPOSITION)
|
||||||
@ -207,6 +208,7 @@ void Register_Constants(HSQUIRRELVM vm)
|
|||||||
.Const(_SC("OtherSync"), vcmpVehicleUpdateOtherSync)
|
.Const(_SC("OtherSync"), vcmpVehicleUpdateOtherSync)
|
||||||
.Const(_SC("Position"), vcmpVehicleUpdatePosition)
|
.Const(_SC("Position"), vcmpVehicleUpdatePosition)
|
||||||
.Const(_SC("Health"), vcmpVehicleUpdateHealth)
|
.Const(_SC("Health"), vcmpVehicleUpdateHealth)
|
||||||
|
.Const(_SC("Color"), vcmpVehicleUpdateColour)
|
||||||
.Const(_SC("Colour"), vcmpVehicleUpdateColour)
|
.Const(_SC("Colour"), vcmpVehicleUpdateColour)
|
||||||
.Const(_SC("Rotation"), vcmpVehicleUpdateRotation)
|
.Const(_SC("Rotation"), vcmpVehicleUpdateRotation)
|
||||||
.Const(_SC("Max"), vcmpVehicleUpdateRotation)
|
.Const(_SC("Max"), vcmpVehicleUpdateRotation)
|
||||||
@ -231,7 +233,7 @@ void Register_Constants(HSQUIRRELVM vm)
|
|||||||
.Const(_SC("Max"), vcmpDisconnectReasonAntiCheat)
|
.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("Unknown"), SQMOD_UNKNOWN)
|
||||||
.Const(_SC("Body"), vcmpBodyPartBody)
|
.Const(_SC("Body"), vcmpBodyPartBody)
|
||||||
.Const(_SC("Torso"), vcmpBodyPartTorso)
|
.Const(_SC("Torso"), vcmpBodyPartTorso)
|
||||||
|
Loading…
Reference in New Issue
Block a user