Content Unlocked
ES 0x01357CF4 nop
US 0x013702E4 nop
ES 0x01357CF4 nop
US 0x013702E4 nop
This will block all admin functions.
In other terms admin kick.
Credits: Skyline xL, Smexy
(03-27-2018 - 09:54 PM)Wesley_Marcos Wrote: 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