bruno80292 Posted December 21, 2020 Share Posted December 21, 2020 Hello, i'm trying to create a script that disable the marker after spraying, but it does't disappear.  {$CLEO .cs} :marker 0A95: enable_thread_saving 03A4: thread 'marker' 032B: $811 = create_weapon_pickup #SPRAYCAN group 15 ammo 1000 at 2325.6511 -1251.5454 22.5 :marker_01 wait 500 if 0256: player $PLAYER_CHAR defined jf @marker_01 02A8: [email protected] = create_marker 63 at 2325.6511 -1251.5454 22.5 //tag71 :tag wait 0 0702: [email protected] = get_tags_painted_percentage_at 2325.6511 -1251.5454 2323.6511 -1249.5454 if [email protected] == 100 jf @tag Marker.Disable([email protected]) jump @marker_01 0A93: terminate_this_custom_script   Link to comment Share on other sites More sharing options...
Strs Posted February 22, 2021 Share Posted February 22, 2021 (edited) {$CLEO .cs} :marker 0A95: enable_thread_saving thread 'marker' 0215: destroy_pickup $mymarko //$811 its from Main.scm it may conflict some way so better use own sh*t 032B: $mymarko = create_weapon_pickup #SPRAYCAN group 15 ammo 1000 at 2325.6511 -1251.5454 22.5 :marker_01 wait 50 if 0256: player $PLAYER_CHAR defined jf @marker_01 Marker.Disable([email protected]) // 02A8: [email protected] = create_marker 63 at 2325.6511 -1251.5454 22.5 //tag71 :tag wait 0 0702: [email protected] = get_tags_painted_percentage_at 2325.6511 -1251.5454 2323.6511 -1249.5454 if   [email protected] > 99 //[email protected] == 100 its not that good if only its exact 100 then marker will disable if its 101 even it dont work so use > 99 if its above 99 its will work jf @tag Marker.Disable([email protected]) jump @marker_01 0A93: terminate_this_custom_script Edited February 22, 2021 by Strs idk why it was too dark Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now