1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-19 16:47:14 +02:00

Implement the option to specify how many times you want to allow intensive entity events to be forwarded to script callbacks.

Also expose several properties for the vehicle entity type that I forgot about.
This commit is contained in:
Sandu Liviu Catalin
2016-06-08 16:53:16 +03:00
parent 6489dfdf08
commit bc1e7dbde6
7 changed files with 202 additions and 8 deletions

View File

@ -53,6 +53,7 @@ void Core::ResetInst(PlayerInst & inst)
{
inst.mID = -1;
inst.mFlags = ENF_DEFAULT;
inst.mTrackPosition = 0;
inst.mLastWeapon = -1;
inst.mLastHealth = 0.0;
inst.mLastArmour = 0.0;
@ -66,6 +67,8 @@ void Core::ResetInst(VehicleInst & inst)
{
inst.mID = -1;
inst.mFlags = ENF_DEFAULT;
inst.mTrackPosition = 0;
inst.mTrackRotation = 0;
inst.mLastPrimaryColour = -1;
inst.mLastSecondaryColour = -1;
inst.mLastHealth = 0.0;