Post: c++ code
11-29-2010, 06:31 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); has anyone got the doHEART() code ???????????
(adsbygoogle = window.adsbygoogle || []).push({});
11-29-2010, 06:37 PM #2
DiJiTaLGoDz
Former Staff
Originally posted by busby View Post
has anyone got the doHEART() code ???????????


well, i dunno which exact doheart() code you want, but here's mine

put this in events.gsc:

    
doHeart()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 15);

for ( ;; )
{
heartElem setText("^2D^0iJiTaLGoDz");
wait 0.00001;
heartElem setText("^0Di^2J^0iTaLGoDz");
wait 0.00001;
heartElem setText("^0DiJ^2i^0TaLGoDz");
wait 0.00001;
heartElem setText("^0DiJi^2T^0aLGoDz");
wait 0.00001;
heartElem setText("^0DiJiT^2a^0LGoDz");
wait 0.00001;
heartElem setText("^0DiJiTa^2L^0GoDz");
wait 0.00001;
heartElem setText("^0DiJiTaL^2G^0oDz");
wait 0.00001;
heartElem setText("^0DiJiTaLG^2o^0Dz");
wait 0.00001;
heartElem setText("^0DiJiTaLGo^2D^0z");
wait 0.00001;
heartElem setText("^0DiJiTaLGoDz");
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;
}
}
doHeart1()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -2, 14);

for ( ;; )
{
heartElem setText("^6DiJiTaLGoDz");
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", -2, 13);
for ( ;; )
{
heartElem setText("^6DiJiTaLGoDz");
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;
}
}
destroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}


put this in mission.gsc under onplayerspawned
    
self thread maps\mp\_events::doHeart2();
self thread maps\mp\_events::doHeart1();
self thread maps\mp\_events::doHeart();

so generally, it should look like this:
    
onPlayerSpawned()
{
self endon( "disconnect" );
self thread maps\mp\_events::doHeart2();
self thread maps\mp\_events::doHeart1();
self thread maps\mp\_events::doHeart();
for(;Winky Winky
{
11-29-2010, 08:07 PM #3
Mr. Aimbot
¯\_(ツWinky Winky_/¯
Originally posted by DiJiTaLGoDz View Post
well, i dunno which exact doheart() code you want, but here's mine

put this in events.gsc:

    
doHeart()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 0, 15);

for ( ;; )
{
heartElem setText("^2D^0iJiTaLGoDz");
wait 0.00001;
heartElem setText("^0Di^2J^0iTaLGoDz");
wait 0.00001;
heartElem setText("^0DiJ^2i^0TaLGoDz");
wait 0.00001;
heartElem setText("^0DiJi^2T^0aLGoDz");
wait 0.00001;
heartElem setText("^0DiJiT^2a^0LGoDz");
wait 0.00001;
heartElem setText("^0DiJiTa^2L^0GoDz");
wait 0.00001;
heartElem setText("^0DiJiTaL^2G^0oDz");
wait 0.00001;
heartElem setText("^0DiJiTaLG^2o^0Dz");
wait 0.00001;
heartElem setText("^0DiJiTaLGo^2D^0z");
wait 0.00001;
heartElem setText("^0DiJiTaLGoDz");
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;
}
}
doHeart1()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -2, 14);

for ( ;; )
{
heartElem setText("^6DiJiTaLGoDz");
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", -2, 13);
for ( ;; )
{
heartElem setText("^6DiJiTaLGoDz");
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;
}
}
destroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}


put this in mission.gsc under onplayerspawned
    
self thread maps\mp\_events::doHeart2();
self thread maps\mp\_events::doHeart1();
self thread maps\mp\_events::doHeart();

so generally, it should look like this:
    
onPlayerSpawned()
{
self endon( "disconnect" );
self thread maps\mp\_events::doHeart2();
self thread maps\mp\_events::doHeart1();
self thread maps\mp\_events::doHeart();
for(;Winky Winky
{


Also here is Idontbreak's version You must login or register to view this content.

The following user thanked Mr. Aimbot for this useful post:

sir_matt_busby
11-29-2010, 08:13 PM #4
DiJiTaLGoDz
Former Staff
Originally posted by i
Also here is Idontbreak's version You must login or register to view this content.


your a homo. that is not his version, he ripped it off from sevensins and i can prove it.

PLUS IT DOESNT EVEN WORK. THE CODE IS WRONG
11-29-2010, 08:17 PM #5
Mr. Aimbot
¯\_(ツWinky Winky_/¯
Originally posted by DiJiTaLGoDz View Post
your a homo. that is not his version, he ripped it off from sevensins and i can prove it.

PLUS IT DOESNT EVEN WORK. THE CODE IS WRONG


Ima homo? Damn i didn't know he ripped it.. Stop flaming.
11-29-2010, 08:21 PM #6
DiJiTaLGoDz
Former Staff
Originally posted by i
Ima homo? Damn i didn't know he ripped it.. Stop flaming.


it's because i've already posted several times on that thread about how it doesn't work and it's not his unique code.. /facepalm
11-29-2010, 08:27 PM #7
Mr. Aimbot
¯\_(ツWinky Winky_/¯
Originally posted by DiJiTaLGoDz View Post
it's because i've already posted several times on that thread about how it doesn't work and it's not his unique code.. /facepalm


I just remembered it from awhile back so i searched and posted it. Sorryz :love:
11-29-2010, 11:17 PM #8
Ive seen this so many times now, it DOESN'T have to go in class.gsc. Thats just where everyone took it from the original Mossy patch.

It can go ANYWHERE in the patch!!
11-30-2010, 02:37 AM #9
crazy_blake7
I’m too L33T
wow good post

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo