Minor fixes

This commit is contained in:
Grinch_ 2022-08-27 05:34:26 +06:00
parent a3d915f3b7
commit 6b6139cb2f
4 changed files with 5 additions and 4 deletions

View File

@ -296,6 +296,7 @@ RemovePeds = "Remove peds"
RemovePedsRadius = "Remove peds in radius" RemovePedsRadius = "Remove peds in radius"
ResetModels = "Reset models" ResetModels = "Reset models"
SelectedWeapon = "Selected weapon: %s" SelectedWeapon = "Selected weapon: %s"
SelectMember = "Select member"
SelectWeapon = "Select weapon" SelectWeapon = "Select weapon"
SlutMagnet = "Slut magnet" SlutMagnet = "Slut magnet"
SpawnerTab = "Spawner" SpawnerTab = "Spawner"
@ -786,7 +787,6 @@ MoveWhenFiring = "Move when firing"
NoSpread = "No spread" NoSpread = "No spread"
RapidFire = "Rapid fire" RapidFire = "Rapid fire"
SelectGang = "Select gang" SelectGang = "Select gang"
SelectMember = "Select member"
Weapon1 = "Weapon 1" Weapon1 = "Weapon 1"
Weapon2 = "Weapon 2" Weapon2 = "Weapon 2"
Weapon3 = "Weapon 3" Weapon3 = "Weapon 3"

View File

@ -10,7 +10,7 @@
#define MENU_NAME "Cheat Menu" #define MENU_NAME "Cheat Menu"
#define MENU_VERSION_NUMBER "3.3" #define MENU_VERSION_NUMBER "3.3"
#define MENU_VERSION MENU_VERSION_NUMBER"-beta" #define MENU_VERSION MENU_VERSION_NUMBER"-beta"
#define BUILD_NUMBER "20220821" #define BUILD_NUMBER "20220825"
#define MENU_TITLE MENU_NAME " v" MENU_VERSION #define MENU_TITLE MENU_NAME " v" MENU_VERSION
#ifdef GTASA #ifdef GTASA

View File

@ -337,7 +337,9 @@ void VehiclePage::SpawnVehicle(std::string& rootkey, std::string& vehName, std::
veh = (CVehicle*)train; veh = (CVehicle*)train;
hveh = CPools::GetVehicleRef(veh); hveh = CPools::GetVehicleRef(veh);
if (veh->m_pDriver) if (veh->m_pDriver)
{
Command<Commands::DELETE_CHAR>(CPools::GetPedRef(veh->m_pDriver)); Command<Commands::DELETE_CHAR>(CPools::GetPedRef(veh->m_pDriver));
}
if (m_Spawner.m_bAsDriver) if (m_Spawner.m_bAsDriver)
{ {

View File

@ -5,7 +5,6 @@
#include "imgui/imgui_impl_dx9.h" #include "imgui/imgui_impl_dx9.h"
#include "imgui/imgui_impl_dx11.h" #include "imgui/imgui_impl_dx11.h"
#include "imgui/imgui_impl_win32.h" #include "imgui/imgui_impl_win32.h"
#include <dinput.h>
extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam); extern IMGUI_IMPL_API LRESULT ImGui_ImplWin32_WndProcHandler(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam);
@ -228,7 +227,7 @@ void D3dHook::ProcessMouse()
patch::Nop(BY_GAME(0x541DD7, 0x4AB6CA, 0x49272F), 5); // don't call CPad::UpdateMouse() patch::Nop(BY_GAME(0x541DD7, 0x4AB6CA, 0x49272F), 5); // don't call CPad::UpdateMouse()
#ifdef GTASA #ifdef GTASA
// Fix bug with radio switching // Fix bug with radio switching
patch::SetUInt(0x4EB731, 0xEB); // jz -> jmp, skip mouse checks patch::SetUChar(0x4EB731, 0xEB); // jz -> jmp, skip mouse checks
patch::SetUChar(0x4EB75A, 0xEB); // jz -> jmp, skip mouse checks patch::SetUChar(0x4EB75A, 0xEB); // jz -> jmp, skip mouse checks
#endif #endif
} }