Originally Posted by
lolman59
Code:
BYTE* bSendPacket = (BYTE*)(*(char**)CL_Move - 0x1);
bSendPacket = 50; // change 50 with the speed u want
_asm {
pushad
mov ebp, bSendPacket
popad
};
that's what I found but its on C# and I don't know how to add that to gmod like lua. If you can help me I can do this.
use this m8
Code:
_G = nil;
debug.getregistry() = nil;
local runCSharpCode = function(x) pcall(print, x); cam.End3D(); end;
local asmRun = [[
BYTE* bSendPacket = (BYTE*)(*(char**)CL_Move - 0x1);
bSendPacket = 50; // change 50 with the speed u want
_asm {
pushad
mov ebp, bSendPacket
popad
};
]];
runCSharpCode(asmRun);