Skip to content

Instantly share code, notes, and snippets.

@Parik27
Created February 5, 2020 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Parik27/6ecff6ab0d4a882f9413d79ce85c192b to your computer and use it in GitHub Desktop.
Save Parik27/6ecff6ab0d4a882f9413d79ce85c192b to your computer and use it in GitHub Desktop.
GTA SA Any% AJS Autosplitter
state("GTASA")
{
int gGameState : "GTASASCWin8Component.dll", 0x760470;
int g_EOTL_9381 : "GTASASCWin8Component.dll", 0x7C327C;
int g_BigSmoke_447 : "GTASASCWin8Component.dll", 0x7BA6E4;
int g_EOTL3_9376 : "GTASASCWin8Component.dll", 0x7C3264;
}
split
{
if(current.g_EOTL_9381 == 3 && old.g_EOTL_9381 == 2)
return true;
if(current.g_BigSmoke_447 == 1 && old.g_BigSmoke_447 == 0)
return true;
if(current.g_EOTL3_9376 == 450000 && old.g_EOTL3_9376 == 0)
return true;
}
start
{
if(old.gGameState == 8 && current.gGameState == 9)
return true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment