Skip to content

Instantly share code, notes, and snippets.

@JuniorDjjr
Created April 26, 2019 23:11
Show Gist options
  • Save JuniorDjjr/9f73efdefe442a62da411950114502c9 to your computer and use it in GitHub Desktop.
Save JuniorDjjr/9f73efdefe442a62da411950114502c9 to your computer and use it in GitHub Desktop.
// You need: https://forum.mixmods.com.br/f16-utilidades/t179-gta3script-while-true-return_true-e-return_false
SCRIPT_START
{
LVAR_INT enabled
IF READ_INT_FROM_INI_FILE "CLEO/screen overlay.ini" "Settings" "EnabledByDefault" (enabled)
ELSE
enabled = TRUE
ENDIF
LOAD_TEXTURE_DICTIONARY SCROVER
LOAD_SPRITE 1 "overlay"
WHILE TRUE
WAIT 0
IF TEST_CHEAT OVERLAY
IF enabled = TRUE
enabled = FALSE
ELSE
enabled = TRUE
ENDIF
ENDIF
IF enabled = TRUE
DRAW_SPRITE 1 (320.0 224.0) (640.0 448.0) 255 255 255 255
USE_TEXT_COMMANDS 0
ENDIF
ENDWHILE
}
SCRIPT_END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment