yinx2002 Posted July 15, 2022 Share Posted July 15, 2022 FYI @ Quote Link to comment Short link Share on other sites More sharing options...
StranikS_Scan Posted July 15, 2022 Share Posted July 15, 2022 В виде чего должно быть уведомление? @ Quote Link to comment Short link Share on other sites More sharing options...
MoD Posted July 15, 2022 Share Posted July 15, 2022 8 hours ago, yinx2002 said: FYI You can hook PlayerAvatar.updateVehicleHealth from Avatar.py This will give you updates for every tank's health (including yours), when it is 0 or less - tank destroyed. Case when health is less than 0 - it means ammo rack is blown up. But there is also a rare case when health is > 0, but crew is dead, but just look into this function it has everything you need @ Quote Link to comment Short link Share on other sites More sharing options...
yinx2002 Posted July 18, 2022 Author Share Posted July 18, 2022 @MoD OK ,thanks. I hooked PostmortemPanel. __onVehicleStateUpdated , in which I can got DEATH INFO and a lot of things like the timer vale when tank goes into water. @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.