Press Play
2010-07-12 03:46:46
{*******************************************************************
Function LoginIndex: Integer;
By:
Description: Uses the LoginIndex hook.
2 = Logged Out, 4 = Logging Into Lobby, 6 = Lobbby,
8 = logging into game, 9 = Logged In. Reaches 10 at
some points, but with no significance.
********************************************************************}
I've been having trouble with R_LoggedIn. It has been returning false even though I'm logged in. I suggest changing it to:
{*******************************************************************
Function R_LoggedIn: Boolean;
By: Method / Drags111 / Zyt3x
Description: Returns true if you're logged in.
********************************************************************}
function R_LoggedIn: Boolean;
begin
Result := (LoginIndex >= 9);
end; Although I don't know what the integers above 9 represent so I can't be sure if it would be accurate. This is what I'm using at the moment.
Maybe this could be looked into further by one of the devs?
Thanks:) hope this helps