Im releasing some dank hacks ive made, wonder how long till we see these codes in hextic with no credit. Some of these codes are ported, but most made by me.
Code:
*(int*)0x12BD36C = Protections[1] ? 0x4E800020 : 0x7C0802A6;/*Request Controll*/
*(int*)0x12BDFCC = Protections[2] ? 0x4E800020 : 0x7C0802A6;/*Give Controll*/
*(int*)0x12C0128 = Protections[3] ? 0x4E800020 : 0x7C0802A6;/*Weapon Damage*/
*(int*)0x12C1AF4 = Protections[4] ? 0x4E800020 : 0x7C0802A6;/*Request Pickup*/
*(int*)0x12C2314 = Protections[5] ? 0x4E800020 : 0x7C0802A6;/*Request Map Pickup*/
*(int*)0x12C2988 = Protections[6] ? 0x4E800020 : 0x7C0802A6;/*Game Clock*/
*(int*)0x12C2E2C = Protections[7] ? 0x4E800020 : 0x7C0802A6;/*Game Weather*/
*(int*)0x12C37EC = Protections[8] ? 0x4E800020 : 0x7C0802A6;/*Give Weapon*/
*(int*)0x12C3ACC = Protections[9] ? 0x4E800020 : 0x7C0802A6;/*Remove Weapon*/
*(int*)0x12C3C74 = Protections[10] ? 0x4E800020 : 0x7C0802A6;/*Remove All Weapon*/
*(int*)0x12C413C = Protections[11] ? 0x4E800020 : 0x7C0802A6;/*Vehicle Part Controll*/
*(int*)0x12C4A44 = Protections[12] ? 0x4E800020 : 0x7C0802A6;/*Fire*/
*(int*)0x12C5638 = Protections[13] ? 0x4E800020 : 0x7C0802A6;/*Explosion*/
*(int*)0x12C78DC = Protections[14] ? 0x4E800020 : 0x7C0802A6;/*Wanted Level*/
*(int*)0x12C8D60 = Protections[15] ? 0x4E800020 : 0x7C0802A6;/*Scripted Game*/
*(int*)0x12CAE68 = Protections[16] ? 0x4E800020 : 0x7C0802A6;/*Clear Area*/
*(int*)0x12D1E28 = Protections[17] ? 0x4E800020 : 0x7C0802A6;/*Kick Votes*/
*(int*)0x12CB198 = Protections[18] ? 0x4E800020 : 0x7C0802A6;/*Request Synced Scene Event*/
*(int*)0x12CB55C = Protections[19] ? 0x4E800020 : 0x7C0802A6;/*Start Synced Event*/
*(int*)0x12CFDE8 = Protections[20] ? 0x4E800020 : 0x7C0802A6;/*Play Sounde*/
*(int*)0x12D29E4 = Protections[21] ? 0x4E800020 : 0x7C0802A6;/*Blow Up Vehicle*/
*(int*)0x12C96B4 = Protections[22] ? 0x4E800020 : 0x7C0802A6;/*Non Host Kick Pro*/
*(int*)0x12D1E28 = Protections[23] ? 0x4E800020 : 0x7C0802A6;/*Non Host Kick Pro*/
*(int*)0x12C69F0 = Protections[24] ? 0x4E800020 : 0x7C0802A6;/*Bullets Protection*/
*(int*)0x12D09D4 = Protections[25] ? 0x4E800020 : 0x7C0802A6;/*Veh Door Protection*/
*(int*)0x12D5098 = Protections[26] ? 0x4E800020 : 0x7C0802A6;/*Network PTFX*/
*(unsigned int*)0x12D137C = Protections[27] ? 0x4E800020 : 0x7C0802A6;/*Stat & Account*/
int SeeThoguhPedQuadSize = 1;
int QuadStartDistance = 1;
int QuadEndddDistance = 1;
int QuadSeeScale = 1;
int MaxThickNess = 1;
int ColorNear = 1;
GRAPHICS::SET_SEETHROUGH(true);
*(float*)(0x125F300) = SeeThoguhPedQuadSize;
INTCHANGERv2("Ped Quad Size", &SeeThoguhPedQuadSize);
*(float*)(0x2215F28) = QuadStartDistance;
INTCHANGERv2("Quad Start", &QuadStartDistance);
*(float*)(0x2215F2C) = QuadEndddDistance;
INTCHANGERv2("Quad End", &QuadEndddDistance);
*(float*)(0x2215F30) = QuadSeeScale;
INTCHANGERv2("Quad Scale", &QuadSeeScale);
*(float*)(0x2215F3C) = MaxThickNess;
INTCHANGERv2("Max Thickness", &MaxThickNess,);
*(float*)(0x2215F50) = ColorNear;
INTCHANGERv2("Color Near", &ColorNear);
int TrainLightBrightness = 1;
int TrainLightRed = 1;
int TrainLightGreen = 1;
int TrainLightBlue = 1;
*(float*)(0xEB6BD8) = TrainLightBrightness;
INTCHANGERv2("Trainlight Brightness", &TrainLightBrightness);
*(float*)(0xEB6BD4) = TrainLightRed;
INTCHANGERv2("Trainlight Red", &TrainLightRed);
*(float*)(0x1CCED7C) = TrainLightGreen;
INTCHANGERv2("Trainlight Green", &TrainLightGreen);
*(float*)(0x1CCED80) = TrainLightBlue;
INTCHANGERv2("Trainlight Blue", &TrainLightBlue);
void PedNormal()
{
char NORMAL[] = { 0x04 ,0x05 ,0x06 ,0x07 ,0x08 ,0x09 ,0x07 ,0x0B ,0x10 ,0x11 ,0x12 ,0x13 ,0x3B ,0x80 ,0x80 };
write_process((void*)0x04958D4, &NORMAL, sizeof(NORMAL));
}
void PedPurple()
{
char PURPLE[] = { 0x02 ,0x05 ,0x06 ,0x07 ,0x08 ,0x09 ,0x07 ,0x0B ,0x10 ,0x11 ,0x12 ,0x13 ,0x3B ,0x80 ,0x80 };
write_process((void*)0x04958D4, &PURPLE, sizeof(PURPLE));
}
void PedRed()
{
char RED[] = { 0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x09 ,0x07 ,0x0B ,0x10 ,0x11 ,0x12 ,0x13 ,0x3B ,0x80 ,0x80 };
write_process((void*)0x04958D4, &RED, sizeof(RED));
}
void PedYellow()
{
char YELLOW[] = { 0x04 ,0x05 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 };
write_process((void*)0x04958D4, &YELLOW, sizeof(YELLOW));
}
void PedBlack()
{
char BLACK[] = { 0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x12 ,0x13 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x04 ,0x05 };
write_process((void*)0x04958D4, &BLACK, sizeof(BLACK));
}
void PedText1()
{
char TEXTUREONE[] = { 0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x02 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x82 ,0x13 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x04 ,0x05 };
write_process((void*)0x04958D4, &TEXTUREONE, sizeof(TEXTUREONE));
}
void PedText2()
{
char TEXTURETWO[] = { 0x11 ,0x22 ,0x44 ,0x44 ,0x55 ,0x66 ,0x77 ,0x88 ,0x99 ,0x99 ,0x99 ,0x99 ,0x99 ,0x99 ,0x14 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x87 ,0x12 ,0x13 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x00 ,0x01 ,0x02 ,0x03 ,0x04 ,0x05 };
write_process((void*)0x04958D4, &TEXTURETWO, sizeof(TEXTURETWO));
}
void VisualNormal()
{
char noz[] = { 0x3B,0x80,0x80,0x81,0x3B,0x80,0x80,0x81,0x3B,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
void GreenVisual()
{
char noz[] = { 0xFF,0x80,0x80,0x81,0x3B,0x80,0x80,0x81,0xFF,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
void BlueVisual()
{
char noz[] = { 0xFF,0x80,0x80,0x81,0x3B,0x80,0x80,0x81,0x3B,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
void BlackVisual()
{
char noz[] = { 0xFF,0x80,0x80,0x81,0xFF,0x80,0x80,0x81,0xFF,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
void PurpleVisual()
{
char noz[] = { 0x3B,0x80,0x80,0x81,0xFF,0x80,0x80,0x81,0x3B,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
void YellowVisual()
{
char noz[] = { 0x3B,0x80,0x80,0x81,0x3B,0x80,0x80,0x81,0xFF,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
void RedVisual()
{
char noz[] = { 0x3B,0x80,0x80,0x81,0xFF,0x80,0x80,0x81,0xFF,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
void CyanVisual()
{
char noz[] = { 0xFF,0x80,0x80,0x81,0xFF,0x80,0x80,0x81,0x3B,0x80,0x80,0x81 };
write_process((void*)0x0189EDF4, &noz, sizeof(noz));
}
*(byte*)(0x0213A4DC + (i * 0x74) + 0x20) = tiremarkred;
*(byte*)(0x0213A4DC + (i * 0x74) + 0x21) = tiremarkgreen;
*(byte*)(0x0213A4DC + (i * 0x74) + 0x22) = tiremarkblue;
*(int*)(0x0213A4DC + (i * 0x74) + 0x08) = 0x00000030;
*(byte*)(0x0213A4DC + (i * 0x74) + 0x0B) = TiremarkType;