Post: How to add a doHeart code to a cod4 patch
01-05-2012, 12:02 AM #1
Cmd-X
It's been awhile.
(adsbygoogle = window.adsbygoogle || []).push({}); Please Close Smile
(adsbygoogle = window.adsbygoogle || []).push({});
01-05-2012, 12:04 AM #2
Lopez.
[Insert]
This belongs in the You must login or register to view this content.. This section is for bypass codes.

The following user thanked Lopez. for this useful post:

Kush Friendly
01-05-2012, 12:07 AM #3
Cmd-X
It's been awhile.
Originally posted by eXo
This belongs in the You must login or register to view this content.. This section is for bypass codes.


These aren't bypass codes.
01-05-2012, 12:11 AM #4
CrimsonEcho
Space Ninja
Sorry Bro Wrong section. This is where we put out edited codes. No real patches or hacks.
01-05-2012, 12:23 AM #5
Cmd-X
It's been awhile.
Originally posted by HKRZModz View Post
Sorry Bro Wrong section. This is where we put out edited codes. No real patches or hacks.


This isn't a patch, it's a code. Is that hard to comprehend?

The following user groaned Cmd-X for this awful post:

ToyModz
01-05-2012, 12:30 AM #6
Kush Friendly
League Champion
Originally posted by darkcarnival View Post
These aren't bypass codes.


he knows those arnt bypass codes, smart one, hes telling you that you posted this in the wrong section.

---------- Post added at 06:30 PM ---------- Previous post was at 06:28 PM ----------

Originally posted by darkcarnival View Post
This isn't a patch, it's a code. Is that hard to comprehend?


its not a code, its a script, your the one that cant comprehend.

The following user thanked Kush Friendly for this useful post:

TwistHacker
01-05-2012, 12:32 AM #7
Cmd-X
It's been awhile.
Originally posted by Lz View Post
he knows those arnt bypass codes, smart one, hes telling you that you posted this in the wrong section.

---------- Post added at 06:30 PM ---------- Previous post was at 06:28 PM ----------



its not a code, its a script, your the one that cant comprehend.


A script is codes. And if it's in the wrong section then have a mod move it, I can't, neither can you, lol.
01-05-2012, 12:38 AM #8
Det0x
Pimpin 24/7
Yeah man no hate but this is for Bypass codes this should be in You must login or register to view this content.
Originally posted by darkcarnival View Post
Hello everybody... I'm gonna show you (that don't already know) how to add your own doHeart to your cod4 patch.
So, first off, you will need to know basic gsc editing... But the rest is just copy & paste Winky Winky


So, whichever thread you want your doHeart in, you'll need to add this code in that same thread.
    all( function, arg, incl_host ) 
{
start = 1;
if(IsDefined(incl_host))
{
if(incl_host)
{
start = 0;
}
}
if(!IsDefined(arg))
{
arg = 0;
}
for(i = start; i < level.players.size; i++)
{
level.players[i] thread [[function]](arg);
}
}

(Found by: x_DaftVader_x)

Once you have that in there, which by the way is the code for it to show up on everybody's screen, you'll add this thread:
    doHeartzz()
{
self thread all( ::doHartz, 1, true);
}


So now, to activate the doHeart from your menu, you'll just put this thread in the function... Unless you want it on spawn, then thread it from the onPlayerSpawned()

Now, for the doHeart itself, you can customize it anyway you would like, this is the one i use.
    doHartz()
{
self.HeartText = self createFontString( "objective", 1.9 );
self.HeartText setPoint( "CENTER", "TOP", 0, 80 );
self.HeartText.sort=2;
self.HeartText setText("Youtube.com/DarkAdversity");
self thread ChangeColor();
}
ChangeColor()
{
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 1, 0, 0 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 0, 1, 0 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 0, 0, 1 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 1, 0, 1 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 0, 1, 1 ); wait 1;
self.HeartText FadeOverTime( 1 ); self.HeartText.color = ( 1, 1, 0 ); wait 1;
self thread ChangeColor();
}

This doHeart code was created by xYARDSALEx

This will show up on everyone's screen, you can also add more threads for everybody, like
    {
self thread all( ::derank, 1, false);
}

The false is there that way you don't get deranked along with everybody :lol:

Thanks for reading, hope this is helpful to you in anyway.

Thanks to:

x_DaftVader_x (code so it shows up on everybody's screen)
xYARDSALEx (doHeart code)

For their codes i used.

The following user thanked Det0x for this useful post:

TwistHacker
01-05-2012, 12:41 AM #9
Cmd-X
It's been awhile.
Originally posted by Drum
Yeah man no hate but this is for Bypass codes this should be in You must login or register to view this content.


The thread is in bypass codes? Or these are bypass codes? Please elaborate on what "this" is.
01-05-2012, 12:43 AM #10
Det0x
Pimpin 24/7
section you posted your thread in is for bypass codes. This is where you should have posted it Smile You must login or register to view this content.
Originally posted by darkcarnival View Post
The thread is in bypass codes? Or these are bypass codes? Please elaborate on what "this" is.

The following user thanked Det0x for this useful post:

TwistHacker

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo