-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace Game.GameTime with GET_GAME_TIMER in RPH #152
Comments
Actually, RPH returns the game time in the same way as how A decompiled code of __int64 __fastcall rage::fwTimer::GetTimeInMilliseconds()
{
return rage::fwTimer::sm_gameTime.m_Time; // `sm_gameTime` is a `rage::fwTimeSet`
} The equivalent code should be included in GTA5.exe as well. You can't tell if the return value is signed just by looking at how the function is defined because the function only contains Another reason why I think |
Would you recommend switching everything to uint or go back to int? I guess uint would be the right choice. |
I ended up switching to long values. |
Why is that a UINT if the game reports it as an INT?
The text was updated successfully, but these errors were encountered: