When I activate entityblocker I can not change the time as I can fix it?
bool entityblockerv2 = false;
void entityBlocker()
{
char dBytes1[] = { 0x4B, 0xA5, 0x25, 0xE5 };
char dBytes2[] = { 0x8B, 0xD7, 0x00, 0x29 };
char dBytes3[] = { 0x62, 0xC3, 0x00, 0x00 };
char eBytes1[] = { 0x48, 0x00, 0x00, 0x44 };
char eBytes2[] = { 0x48, 0x00, 0x00, 0x18 };
char eBytes3[] = { 0x60, 0x00, 0x00, 0x00 };
if (entityblockerv2)
{
write_process(0x1093228, eBytes3, 4);//Block all entities
write_process(0x133CB14, eBytes1, 4);//Pickups
write_process(0x133CE0C, eBytes1, 4);//Planes
write_process(0x133CAA4, eBytes1, 4);//Objec t
write_process(0x133CBF0, eBytes1, 4);//Bikes
write_process(0x133CA34, eBytes1, 4);//Cars
write_process(0x133CD34, eBytes1, 4);//Helicopters
write_process(0x133C9F4, eBytes2, 4);//Clone
}
else
{
write_process(0x1093228, dBytes1, 4);//Block all entities
write_process(0x133CB14, dBytes2, 4);//Pickups
write_process(0x133CE0C, dBytes2, 4);//Planes
write_process(0x133CAA4, dBytes2, 4);//Object
write_process(0x133CBF0, dBytes2, 4);//Bikes
write_process(0x133CA34, dBytes2, 4);//Cars
write_process(0x133CD34, dBytes2, 4);//Helicopters
write_process(0x133C9F4, dBytes3, 4);//Clone
}
}
void entityBlocker()
{
char dBytes1[] = { 0x4B, 0xA5, 0x25, 0xE5 };
char dBytes2[] = { 0x8B, 0xD7, 0x00, 0x29 };
char dBytes3[] = { 0x62, 0xC3, 0x00, 0x00 };
char eBytes1[] = { 0x48, 0x00, 0x00, 0x44 };
char eBytes2[] = { 0x48, 0x00, 0x00, 0x18 };
char eBytes3[] = { 0x60, 0x00, 0x00, 0x00 };
if (entityblockerv2)
{
write_process(0x1093228, eBytes3, 4);//Block all entities
write_process(0x133CB14, eBytes1, 4);//Pickups
write_process(0x133CE0C, eBytes1, 4);//Planes
write_process(0x133CAA4, eBytes1, 4);//Objec t
write_process(0x133CBF0, eBytes1, 4);//Bikes
write_process(0x133CA34, eBytes1, 4);//Cars
write_process(0x133CD34, eBytes1, 4);//Helicopters
write_process(0x133C9F4, eBytes2, 4);//Clone
}
else
{
write_process(0x1093228, dBytes1, 4);//Block all entities
write_process(0x133CB14, dBytes2, 4);//Pickups
write_process(0x133CE0C, dBytes2, 4);//Planes
write_process(0x133CAA4, dBytes2, 4);//Object
write_process(0x133CBF0, dBytes2, 4);//Bikes
write_process(0x133CA34, dBytes2, 4);//Cars
write_process(0x133CD34, dBytes2, 4);//Helicopters
write_process(0x133C9F4, dBytes3, 4);//Clone
}
}
(06-25-2019 - 08:00 AM)carlos_20 Wrote: bool entityblockerv2 = false;
void entityBlocker()
{
char dBytes1[] = { 0x4B, 0xA5, 0x25, 0xE5 };
char dBytes2[] = { 0x8B, 0xD7, 0x00, 0x29 };
char dBytes3[] = { 0x62, 0xC3, 0x00, 0x00 };
char eBytes1[] = { 0x48, 0x00, 0x00, 0x44 };
char eBytes2[] = { 0x48, 0x00, 0x00, 0x18 };
char eBytes3[] = { 0x60, 0x00, 0x00, 0x00 };
if (entityblockerv2)
{
write_process(0x1093228, eBytes3, 4);//Block all entities
write_process(0x133CB14, eBytes1, 4);//Pickups
write_process(0x133CE0C, eBytes1, 4);//Planes
write_process(0x133CAA4, eBytes1, 4);//Objec t
write_process(0x133CBF0, eBytes1, 4);//Bikes
write_process(0x133CA34, eBytes1, 4);//Cars
write_process(0x133CD34, eBytes1, 4);//Helicopters
write_process(0x133C9F4, eBytes2, 4);//Clone
}
else
{
write_process(0x1093228, dBytes1, 4);//Block all entities
write_process(0x133CB14, dBytes2, 4);//Pickups
write_process(0x133CE0C, dBytes2, 4);//Planes
write_process(0x133CAA4, dBytes2, 4);//Object
write_process(0x133CBF0, dBytes2, 4);//Bikes
write_process(0x133CA34, dBytes2, 4);//Cars
write_process(0x133CD34, dBytes2, 4);//Helicopters
write_process(0x133C9F4, dBytes3, 4);//Clone
}
}
I think you're looping the same block entities twice using "block all entities" and, for example, "block planes entity".
Try disabling "block all entities" or try this:
bool semientityblocker = false;
bool allentityblocker = false;
void entityBlocker()
{
char dBytes1[] = { 0x4B, 0xA5, 0x25, 0xE5 };
char dBytes2[] = { 0x8B, 0xD7, 0x00, 0x29 };
char dBytes3[] = { 0x62, 0xC3, 0x00, 0x00 };
char eBytes1[] = { 0x48, 0x00, 0x00, 0x44 };
char eBytes2[] = { 0x48, 0x00, 0x00, 0x18 };
char eBytes3[] = { 0x60, 0x00, 0x00, 0x00 };
if (semientityblocker)
{
write_process(0x133CB14, eBytes1, 4);//Pickups
write_process(0x133CE0C, eBytes1, 4);//Planes
write_process(0x133CAA4, eBytes1, 4);//Objec t
write_process(0x133CBF0, eBytes1, 4);//Bikes
write_process(0x133CA34, eBytes1, 4);//Cars
write_process(0x133CD34, eBytes1, 4);//Helicopters
write_process(0x133C9F4, eBytes2, 4);//Clone
}
else
{
write_process(0x133CB14, dBytes2, 4);//Pickups
write_process(0x133CE0C, dBytes2, 4);//Planes
write_process(0x133CAA4, dBytes2, 4);//Object
write_process(0x133CBF0, dBytes2, 4);//Bikes
write_process(0x133CA34, dBytes2, 4);//Cars
write_process(0x133CD34, dBytes2, 4);//Helicopters
write_process(0x133C9F4, dBytes3, 4);//Clone
}
if(allentityblocker)
{
write_process(0x1093228, eBytes3, 4);//Block all entities
}
else
{
write_process(0x1093228, dBytes1, 4);//Block all entities
}
}
This is my opinion, but I'm something noob, hehehe
Users browsing: 2 Guest(s)