feat(Vendor): Updated GTAV-Classes
This commit is contained in:
parent
e4e3aa5a17
commit
a3c86ddc53
@ -7,7 +7,7 @@ namespace big
|
||||
if (!g.vehicle.god_mode || g_local_player == nullptr || g_local_player->m_vehicle == nullptr)
|
||||
return;
|
||||
|
||||
if (g_local_player->m_in_vehicle & (int)ePedTask::TASK_FOOT)
|
||||
if (g_local_player->m_ped_task_flag & (int)ePedTask::TASK_FOOT)
|
||||
{
|
||||
g_local_player->m_vehicle->m_deform_god = 0x8C;
|
||||
g_local_player->m_vehicle->m_godmode = 0x1;
|
||||
|
@ -11,7 +11,7 @@ namespace big
|
||||
ImGui::SetNextWindowPos({ 50, 50 }, ImGuiCond_FirstUseEver);
|
||||
if (g.window.handling && ImGui::Begin("Handling", &g.window.handling))
|
||||
{
|
||||
if (g_local_player == nullptr || g_local_player->m_vehicle == nullptr || g_local_player->m_in_vehicle & (int)ePedTask::TASK_FOOT)
|
||||
if (g_local_player == nullptr || g_local_player->m_vehicle == nullptr || g_local_player->m_ped_task_flag & (int)ePedTask::TASK_FOOT)
|
||||
{
|
||||
ImGui::Text("Please enter a vehicle.");
|
||||
|
||||
|
@ -21,7 +21,7 @@ namespace big
|
||||
|
||||
int vehicle_service::attempt_save()
|
||||
{
|
||||
if (g_local_player == nullptr || g_local_player->m_in_vehicle & (int)ePedTask::TASK_FOOT || g_local_player->m_vehicle == nullptr)
|
||||
if (g_local_player == nullptr || g_local_player->m_ped_task_flag & (int)ePedTask::TASK_FOOT || g_local_player->m_vehicle == nullptr)
|
||||
return -1;
|
||||
if (m_handling_backup.find(g_local_player->m_vehicle->m_handling->m_model_hash) != m_handling_backup.end())
|
||||
return 0;
|
||||
|
2
vendor/GTAV-Classes
vendored
2
vendor/GTAV-Classes
vendored
@ -1 +1 @@
|
||||
Subproject commit f2853174b784da48bb0d418d73bf161510ab6fe9
|
||||
Subproject commit a069ad9316e70f612a937f5bda31fcc36dc38441
|
Reference in New Issue
Block a user