Antikick Function, Need Help
I know the First but for the second I found this way to do it.
Someone know the difference about this and what I need to replace in the first, I know I need to change ''ANTIKICKADDY'' but I need to replace more ? :
Code:
void WriteProtMem((BYTE *)ANTIKICKADDY,(BYTE*)(0x90,0x90),0x2)
{
DWORD Protection;
VirtualProtect((BYTE *)addy,size,PAGE_READWRITE, &Protection);
memset(addy,value,size);
}
And
Code:
void AntiKick ()
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+ANTIKICKADDY) = 5;
Thanks for Help.
First one you need to nop the the bytes, second way to maknig urself a GM so no1 can kick you.
I have the antikick number nop bytes after