mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-18 07:07:32 +08:00
Session globals updated to 1.58
This commit is contained in:
parent
b1bd7aa693
commit
29e95ef836
@ -8,12 +8,12 @@ namespace big::session
|
||||
void join_type(SessionType session)
|
||||
{
|
||||
if (session.id == eSessionType::LEAVE_ONLINE)
|
||||
*script_global(1312443).at(2).as<int*>() = -1;
|
||||
*script_global(1574587).at(2).as<int*>() = -1;
|
||||
else
|
||||
*script_global(1312860).as<int*>() = (int)session.id;
|
||||
*script_global(1575004).as<int*>() = (int)session.id;
|
||||
|
||||
*script_global(1312443).as<int*>() = 1;
|
||||
*script_global(1574587).as<int*>() = 1;
|
||||
script::get_current()->yield(200ms);
|
||||
*script_global(1312443).as<int*>() = 0;
|
||||
*script_global(1574587).as<int*>() = 0;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user