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:
@ -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;
|
||||
|
Reference in New Issue
Block a user