Post: cool doHeart code
01-21-2011, 09:18 PM #1
I_AM_3PIC
You talkin to me?
(adsbygoogle = window.adsbygoogle || []).push({}); well i was looking around on my PC and i found a pretty cool doHeart code so i thought i would share, dont know what patch it was originally in my friend sent it for me to use lol. Also i didn't mean to use the Preview tab so if a mod would change that then go please do.

Add this to onPlayerSpawn or Connect or make it playerVerified or whatever your patch is:
            self thread maps\mp\_utility :: doHeart5(); 
self thread maps\mp\_utility :: doHeart4();
self thread maps\mp\_utility :: doHeart2();
self thread maps\mp\_utility :: doHeart();


Add this to your patch somewhere:
    doHeart() 
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 1, 23);
for ( ;; )
{
heartElem setText("^1[^1_^0NGU_^5]");
wait 0.00001;
heartElem setText("^1[^0_^5N^0GU_^5]");
wait 0.00001;
heartElem setText("^1[^0_N^1G^0U_^5]");
wait 0.00001;
heartElem setText("^1[^0_NG^5U^0_^5]");
wait 0.00001;
heartElem setText("^1[^0_NGU^1_^5]");
wait 0.00001;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}
doHeart2()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -1, 22);
for ( ;; )
{
heartElem setText("^1.^3_NGU_^5.");
wait 0.00001;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}

doHeart5()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -9, -5);
for ( ;; )
{
heartElem setText("^1__^0__^5__");
wait 0.5;
heartElem setText("^5__^3__^1__");
wait 0.5;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}
doHeart4()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -9, 1Cool Man (aka Tustin);
for ( ;; )
{
heartElem setText("^5__^3__^1__");
wait 0.5;
heartElem setText("^1__^0__^5__");
wait 0.5;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}


Pretty much makes a box around the name so i thought it was cool, colors flash as well... also the code i used in picture was just NGU, if you would like it to fill the box, just do _NGU_ or do a clan or whatever

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to I_AM_3PIC for this useful post:

<Jimbo>, firefox7, qwerew, sauronith, xGunz
01-21-2011, 09:20 PM #2
xGunz
Every Path is no Mistake
First comment yes!!!

Pretty awsome ++++rep 4 u and thanksSmile
01-21-2011, 09:36 PM #3
This is in bushigan's Patch, i'm not sure if he made it but if he did you should give him some credit.
01-21-2011, 09:40 PM #4
I_AM_3PIC
You talkin to me?
Originally posted by Facebook
This is in bushigan's Patch, i'm not sure if he made it but if he did you should give him some credit.


I dont think so, i think it was havoc undead, im looking
01-21-2011, 09:49 PM #5
Sorry if it is i tryed a patch with this in it, it might be havoc
01-24-2011, 06:39 PM #6
Hmm nice ... hope you find out more codes ......
01-24-2011, 07:01 PM #7
Originally posted by 3PIC View Post
I dont think so, i think it was havoc undead, im looking


Btw, how can I destroy that text?

Is it
    heartElem destroy();
?

The following user thanked Tuhoaja for this useful post:

Ox1337
01-24-2011, 07:54 PM #8
Ox1337
Bounty hunter
Originally posted by TuhoajaFIN View Post
Btw, how can I destroy that text?

Is it
    heartElem destroy();
?


or
    destroyOnDeath( heartElem )
{
self waittill ( "death" );
heartElem destroy();
}
destroyOnToggle( heartElem )
{
self waittill ( "stopheart" );
heartElem destroy();
}

?

The following user thanked Ox1337 for this useful post:

Tuhoaja

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo