Hello everyone
In fact, I would like to post some of my private stuff because someone here posted my stuff in his menu (public) without my permission Because he said he would keep it in private so I want to everyone enjoy here ヅ,
************Events blocker************
---------------------------
:BLES version
START_EXPLOSION_EVENT = 0x7FC8D8
REQUEST_EXPLOSION_EVENT = 0x7FC988
START_FIRE_EVENT = 0x7FCA38
REQUEST_FIRE_EVENT = 0x7FCAE8
REMOVE_ALL_WEAPONS_EVENT = 0x7FCC48
REMOVE_WEAPON_EVENT = 0x7FCCF8
GIVE_WEAPON_EVENT = 0x7FCDA8
RESURRECTED_LOCAL_PLAYER_EVENT = 0x7FCE58
RESURRECT_PLAYER_EVENT = 0x7FCF08
WEAPON_DAMAGE_EVENT = 0x7FD118
REQUEST_CONTROL_EVENT = 0x7FD268
:BLUS version
START_EXPLOSION_EVENT = 0x7FC708
REQUEST_EXPLOSION_EVENT = 0x7FC7B8
START_FIRE_EVENT = 0x7FC868
REQUEST_FIRE_EVENT = 0x7FC918
REMOVE_ALL_WEAPONS_EVENT = 0x7FCA78
REMOVE_WEAPON_EVENT = 0x7FCB28
GIVE_WEAPON_EVENT = 0x7FCBD8
RESURRECTED_LOCAL_PLAYER_EVENT = 0x7FCC88
RESURRECT_PLAYER_EVENT = 0x7FCD38
WEAPON_DAMAGE_EVENT = 0x7FCF48
REQUEST_CONTROL_EVENT = 0x7FD098
void blockEvent(int event) {
*(int*)event = 0x4E800020;
}
************Godmode Detector & Get Ped Address************
---------------------------
:BLES version
int get_ped_address(int ped)
{
int v2;
unsigned int v4 = *(unsigned int*)0x306265A0;
unsigned int v5 = *(unsigned int*)0x306265A4;
unsigned int v6 = *(unsigned int*)0x306265AC;
v2 = 0;
if (*(unsigned char*)((ped >> 8) + v5) == (unsigned char)ped)
v2 = (ped >> 8) * v6 + v4;
return v2;
}
:BLUS version
int get_ped_address(int ped)
{
int v2;
unsigned int v4 = *(unsigned int*)0x306263D0;
unsigned int v5 = *(unsigned int*)0x306263D4;
unsigned int v6 = *(unsigned int*)0x306263DC;
v2 = 0;
if (*(unsigned char*)((ped >> 8) + v5) == (unsigned char)ped)
v2 = (ped >> 8) * v6 + v4;
return v2;
}
//Godmode checker
int pedStruct = get_ped_address(ped); //Get Ped Address
if (*(unsigned char*)(pedStruct + 0x115) == 0x20) {
//your code after godmode detected on selected ped (player)
}
************IP Finder************
---------------------------
char* getPlayerIP(int selectedPlayer) {
char *ipName, v_iptemp[149];
int p1, p2, p3, p4;
int ipAddr = 0x170D8B4; //BLUS = 0x170D6E4
for (int i=0; i2;i++) {
char *v_real = GET_PLAYER_REAL_NAME_IMP(selectedPlayer);
if (selectedPlayer != GET_PLAYER_ID())
ipName = ReadBytes(ipAddr + (i * 0x60), 100);//get names from memory
if (!strcmp(v_real, ipName)) {
if (selectedPlayer != GET_PLAYER_ID()) {
int ip = *(int *)((ipAddr + 0x2C) + (i * 0x88));//get ip address from memory
p1 = (ip & 0xff000000) >> 24;
p2 = (ip & 0x00ff0000) >> 16;
p3 = (ip & 0x0000ff00) >> 8;
p4 = (ip & 0x000000ff) >> 0;
snprintf(v_iptemp, sizeof(v_iptemp), "%i.%i.%i.%i", p1, p2, p3, p4);
}
}
}
}
everything here by rfoodxmodz
In fact, I would like to post some of my private stuff because someone here posted my stuff in his menu (public) without my permission Because he said he would keep it in private so I want to everyone enjoy here ヅ,
************Events blocker************
---------------------------
:BLES version
START_EXPLOSION_EVENT = 0x7FC8D8
REQUEST_EXPLOSION_EVENT = 0x7FC988
START_FIRE_EVENT = 0x7FCA38
REQUEST_FIRE_EVENT = 0x7FCAE8
REMOVE_ALL_WEAPONS_EVENT = 0x7FCC48
REMOVE_WEAPON_EVENT = 0x7FCCF8
GIVE_WEAPON_EVENT = 0x7FCDA8
RESURRECTED_LOCAL_PLAYER_EVENT = 0x7FCE58
RESURRECT_PLAYER_EVENT = 0x7FCF08
WEAPON_DAMAGE_EVENT = 0x7FD118
REQUEST_CONTROL_EVENT = 0x7FD268
:BLUS version
START_EXPLOSION_EVENT = 0x7FC708
REQUEST_EXPLOSION_EVENT = 0x7FC7B8
START_FIRE_EVENT = 0x7FC868
REQUEST_FIRE_EVENT = 0x7FC918
REMOVE_ALL_WEAPONS_EVENT = 0x7FCA78
REMOVE_WEAPON_EVENT = 0x7FCB28
GIVE_WEAPON_EVENT = 0x7FCBD8
RESURRECTED_LOCAL_PLAYER_EVENT = 0x7FCC88
RESURRECT_PLAYER_EVENT = 0x7FCD38
WEAPON_DAMAGE_EVENT = 0x7FCF48
REQUEST_CONTROL_EVENT = 0x7FD098
void blockEvent(int event) {
*(int*)event = 0x4E800020;
}
************Godmode Detector & Get Ped Address************
---------------------------
:BLES version
int get_ped_address(int ped)
{
int v2;
unsigned int v4 = *(unsigned int*)0x306265A0;
unsigned int v5 = *(unsigned int*)0x306265A4;
unsigned int v6 = *(unsigned int*)0x306265AC;
v2 = 0;
if (*(unsigned char*)((ped >> 8) + v5) == (unsigned char)ped)
v2 = (ped >> 8) * v6 + v4;
return v2;
}
:BLUS version
int get_ped_address(int ped)
{
int v2;
unsigned int v4 = *(unsigned int*)0x306263D0;
unsigned int v5 = *(unsigned int*)0x306263D4;
unsigned int v6 = *(unsigned int*)0x306263DC;
v2 = 0;
if (*(unsigned char*)((ped >> 8) + v5) == (unsigned char)ped)
v2 = (ped >> 8) * v6 + v4;
return v2;
}
//Godmode checker
int pedStruct = get_ped_address(ped); //Get Ped Address
if (*(unsigned char*)(pedStruct + 0x115) == 0x20) {
//your code after godmode detected on selected ped (player)
}
************IP Finder************
---------------------------
char* getPlayerIP(int selectedPlayer) {
char *ipName, v_iptemp[149];
int p1, p2, p3, p4;
int ipAddr = 0x170D8B4; //BLUS = 0x170D6E4
for (int i=0; i2;i++) {
char *v_real = GET_PLAYER_REAL_NAME_IMP(selectedPlayer);
if (selectedPlayer != GET_PLAYER_ID())
ipName = ReadBytes(ipAddr + (i * 0x60), 100);//get names from memory
if (!strcmp(v_real, ipName)) {
if (selectedPlayer != GET_PLAYER_ID()) {
int ip = *(int *)((ipAddr + 0x2C) + (i * 0x88));//get ip address from memory
p1 = (ip & 0xff000000) >> 24;
p2 = (ip & 0x00ff0000) >> 16;
p3 = (ip & 0x0000ff00) >> 8;
p4 = (ip & 0x000000ff) >> 0;
snprintf(v_iptemp, sizeof(v_iptemp), "%i.%i.%i.%i", p1, p2, p3, p4);
}
}
}
}
everything here by rfoodxmodz