Last active
March 19, 2024 14:29
-
-
Save SippieCup/06ceeca00bd1278d608e0aeb968ae71e to your computer and use it in GitHub Desktop.
Fake Lag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is not the complete code, but this is all you need to do within a createmove hook to implement your realization. | |
void CreateMoveHook(Create, Move, Arguements, Here) | |
{ | |
static int ticksToChoke = 12; | |
static int chokedTicks = 0; | |
if(SanityCheck() && chokedTicks < ticksToChoke) | |
{ | |
// Start 'Lagging' | |
bSendPacket = false; | |
} | |
else | |
{ | |
// Resume from lagging and reset our counter | |
bSendPacket = true; | |
chokedTicks = 0; | |
} | |
chokedTicks++; | |
// now call the original create move | |
oldCreateMove(Create, Move, Arguements, Here) | |
} |
E muito bom baixe ja
Muito bom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E muito bom