an argument of type int is not compatible with a parameter of type void
void entityBlocker(bool toggle)
{
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 ( entity)
{
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
}
Even if I activate it, I see everything wrong ?
{
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 ( entity)
{
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
}
Even if I activate it, I see everything wrong ?
Users browsing: 1 Guest(s)