void adminKickProtection(bool toggle)
{
char NOP_ENABLE[] = { 0x60, 0x00, 0x00, 0x00 };
char adminKickOriginal[] = { 0x90, 0x7E, 0x00, 0x04 };
if (toggle)
{
WriteBytes(0x1357CF4, NOP_ENABLE, 4);
}
else
{
WriteBytes(0x1357CF4, adminKickOriginal, 4);
}
}
this is function
I already had an offset and it was correct but it made some people leave the lobby lol
{
char NOP_ENABLE[] = { 0x60, 0x00, 0x00, 0x00 };
char adminKickOriginal[] = { 0x90, 0x7E, 0x00, 0x04 };
if (toggle)
{
WriteBytes(0x1357CF4, NOP_ENABLE, 4);
}
else
{
WriteBytes(0x1357CF4, adminKickOriginal, 4);
}
}
this is function
I already had an offset and it was correct but it made some people leave the lobby lol
Users browsing: 1 Guest(s)