Skip to content

On Vehicle Updated Hook#14

Open
XertroV wants to merge 2 commits intomainfrom
OnVehicleUpdateHook
Open

On Vehicle Updated Hook#14
XertroV wants to merge 2 commits intomainfrom
OnVehicleUpdateHook

Conversation

@XertroV
Copy link
Contributor

@XertroV XertroV commented Jan 5, 2024

Here's a draft PR for the on update hook. I found a spot in MP4 that also works for disabling skidmarks (this was my test case, plugin attached).

I couldn't find one in Turbo and decided it wasn't worth the effort at this stage.

skidless-ghosts-0.1.0.op.zip

Comment on lines +80 to +82
#if TMNEXT
UI::LabelText("Entity ID from player", Text::Format("%08x", VehicleState::GetPlayerVehicleID(player)));
#endif
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did I break Maniaplanet/Turbo with this change? 😅 Perhaps this would be good in its own PR if there's a compiler error on the other games.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants