Post: *Need Doheart Code Help
02-18-2011, 04:22 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ok, heres the problem, i want to put my doheart in a patch so that it only goes on when the menu is open.... i got it so that it turns on when the menu is opened but it stays on when i leave the menu.... someone please help me :(
(adsbygoogle = window.adsbygoogle || []).push({});
02-18-2011, 04:39 PM #11
iJokaa
Haters Keep Me Going Winky Winky
Originally posted by IttzHazeyMods View Post
did that, gave the the error "blah function is already used"


try renaming it then
02-18-2011, 05:33 PM #12
No1s Perfect
Confidence starts in your mind
I can help you, i added A Doheart to myne "Stealth Elitemossy v9.0"
02-21-2011, 03:48 PM #13
The_Platypus
Live Life, Play Cod
did you put under playerspawn
02-22-2011, 12:39 PM #14
XXXL
Banned
simplest method
add this in your do heart code

    
self thread destroyOnAny( heartElem, "button_b", "death" );


Ps: change the button if its not the right button for exit the menu

somewhere inyou mission.gsc

    
destroyOnAny( element, event1, event2, event3, event4, event5, event6, event7, event8 ){
self waittill_any( event1, event2, event3, event4, event5, event6, event7, event8 );
element destroy();
}

If you edit a dconnor you already have it.

then in exitMenu or watever the name
    
self thread WhateverOrHeartFunctionName();

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo