Move all global indices into scr_globals.hpp. (#2018)

This commit is contained in:
gir489
2023-08-24 16:06:50 -04:00
committed by GitHub
parent 04405eb9ae
commit afa79d8600
10 changed files with 71 additions and 56 deletions

View File

@ -20,7 +20,7 @@ namespace big
components::player_command_button<"ceokick">(g_player_service->get_selected(), {});
ImGui::SameLine();
components::button("Gooch Test", [] {
*script_global(1890378).at(289).at(1).as<Player*>() = g_player_service->get_selected()->id();
*scr_globals::gooch.at(289).at(1).as<Player*>() = g_player_service->get_selected()->id();
scripts::start_launcher_script(171);
});