CPP RELEASE Fake kick

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
This is my old invention.
C++ code :

PHP:
void Fakekick()
{
unsigned int func = (unsigned int)GetModuleHandleA("samp.dll") + 0x4D70;//g_dwSAMP_Addr + 0x4D70
__asm{
   PUSH 00
   PUSH 0xFFFF
   CALL func
           }
}

CLEO Alternative Code: [BY [member=3732]m1zg4rd[/member]]
PHP:
    :FakeKick
    //0AB1: @FakeKick 0
    0AA2: 0@ = load_library "samp.dll"
    0@ += 0x4D70
    0AA5: call 0@ num_params 2 pop 0 0 65535
    ret 0
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
[SAMP 0.3.7] Fakekick offset

The offset for SAMP 0.3.7 is : 0x58C0
 

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,463
Solutions
5
Reaction score
916
Location
Israel
I tried to use it, but kicked myself out of the server. How should it be used?
Obviously you'll get a kick, because that's exactly what it does, it's a fakekick! That you give yourself a kick
 
Top