Disable Train HUD
Hello, is there any way to disable the train hud that shows when controlling a train? I want if somehow I'm getting dropped out of the train to hide the message, because it's still there. Thanks !
|
Re: Disable Train HUD
|
Re: Disable Train HUD
Quote:
Here's what I did: Code:
The problem is if I press w, for example, the hud shows again. |
Re: Disable Train HUD
Hook the message (register_message) and alter it: set_msg_arg_int(1, ARG_BYTE, 0).
|
Re: Disable Train HUD
Quote:
|
Re: Disable Train HUD
Solved, just had to deal with m_afPhysicsFlags offset.
So m_afPhysicsFlags &= ~PFLAG_ONTRAIN; |
All times are GMT -4. The time now is 23:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.