Refactored Allow All Weapons In Vehicle to force all vehicles to use … (#1730)

* Refactored Allow All Weapons In Vehicle to force all vehicles to use all GROUPs.
* Refactored project to not depend on src/gta files that already exist in the GTA-V-Classes project.
* feat(cmake): bump GTAV-Classes
This commit is contained in:
gir489
2023-07-16 12:24:40 -04:00
committed by GitHub
parent 8c097f0915
commit 152642cf1b
36 changed files with 108 additions and 339 deletions

View File

@ -24,7 +24,7 @@ namespace big
components::button("Win Event", [] {
if (auto checkpoints = gta_util::find_script_thread(RAGE_JOAAT("am_cp_collection")))
*script_local(checkpoints->m_stack, scr_locals::am_cp_collection::player_broadcast_idx)
.at(checkpoints->m_net_component->m_local_participant_index, 5)
.at(((CGameScriptHandlerNetComponent*)checkpoints->m_net_component)->m_local_participant_index, 5)
.at(4)
.as<int*>() = 999'999'999;