else if (buildNumber == 3258)
{
Pid = GetGTAPID();
if (Pid)
{
Pid = Pid;
GameBuild = GAME_VERSION_GTA_b3258;
ModuleName = GetProcessName(Pid);
}
ModuleBase = M_base::mem::GetModuleBaseByName(Pid, M_base::Misc::String2WString(ModuleName));
if (ModuleBase)
{
World = ModuleBase + 0x25B14B0;
ReplayInterface = ModuleBase + 0x1FBD4F0;
Camera = ModuleBase + 0x201ED50;
ViewPort = ModuleBase + 0x201DBA0;
bIsPlayerAiming = ModuleBase + 0x2D3839C;
PlayerAimingAt = ModuleBase + 0x202C8D0;
HandleBullet = ModuleBase + 0x101A660;
BlipList = ModuleBase + 0x2023400;
Freecam = 0x27B367;
EntityType = 0x1098;
Armor = 0x150C;
BoneManager = 0x430;
PlayerInfo = 0x10A8;
PlayerNetID = 0xE8;
WeaponManager = 0x10B8;
FragInsNmGTA = 0x1430;
ConfigFlags = 0x1444;
Id = 0xE8;
MaxHealth = 0x284;
LastVehicle = 0xD10;
Driver = 0xC90;
DoorLock = 0x13C0;
Handling = 0x960;
VehicleState = 0x972;
Stamina = 0xCF4;
VisibleFlag = 0x145C;
PlayerSpeed = 0xD40;
SyncTree = 0x1198558;
buildNumber = 3258;
Build_Found = true;
}
}
Kod:
else if (buildNumber == 3258)
{
Pid = GetGTAPID();
if (Pid)
{
Pid = Pid;
GameBuild = GAME_VERSION_GTA_b3258;
ModuleName = GetProcessName(Pid);
}
ModuleBase = M_base::mem::GetModuleBaseByName(Pid, M_base::Misc::String2WString(ModuleName));
if (ModuleBase)
{
World = ModuleBase + 0x25B14B0;
ReplayInterface = ModuleBase + 0x1FBD4F0;
Camera = ModuleBase + 0x201ED50;
ViewPort = ModuleBase + 0x201DBA0;
bIsPlayerAiming = ModuleBase + 0x2D3839C;
PlayerAimingAt = ModuleBase + 0x202C8D0;
HandleBullet = ModuleBase + 0x101A660;
BlipList = ModuleBase + 0x2023400;
Freecam = 0x27B367;
EntityType = 0x1098;
Armor = 0x150C;
BoneManager = 0x430;
PlayerInfo = 0x10A8;
PlayerNetID = 0xE8;
WeaponManager = 0x10B8;
FragInsNmGTA = 0x1430;
ConfigFlags = 0x1444;
Id = 0xE8;
MaxHealth = 0x284;
LastVehicle = 0xD10;
Driver = 0xC90;
DoorLock = 0x13C0;
Handling = 0x960;
VehicleState = 0x972;
Stamina = 0xCF4;
VisibleFlag = 0x145C;
PlayerSpeed = 0xD40;
SyncTree = 0x1198558;
buildNumber = 3258;
Build_Found = true;
}
}
yanlış attım halledersin sen onu