Skip to content

Instantly share code, notes, and snippets.

@JuniorDjjr
Last active January 5, 2024 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save JuniorDjjr/103419605450584e51788fc3f791adc9 to your computer and use it in GitHub Desktop.
Save JuniorDjjr/103419605450584e51788fc3f791adc9 to your computer and use it in GitHub Desktop.
SCRIPT_START
{
LVAR_INT scplayer hTargetBlip
LVAR_FLOAT x y z
GET_PLAYER_CHAR 0 scplayer
WHILE TRUE
WAIT 500
IF GET_TARGET_BLIP_COORDS x y z
IF LOCATE_CHAR_ANY_MEANS_3D scplayer x y z 20.0 20.0 500.0 FALSE
READ_MEMORY 0xBA6774 4 FALSE (hTargetBlip)
REMOVE_BLIP hTargetBlip
WRITE_MEMORY 0xBA6774 4 0 FALSE
ENDIF
ENDIF
ENDWHILE
}
SCRIPT_END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment