Post: Nice doHeart()
01-20-2011, 05:11 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); just add

    doHeart1()
doHeart3()


to
    onPlayerSpawned()


then just put this code anywhere in missions


    doHeart1()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 1, 23);
for ( ;; )
{
heartElem setText("^1S^2h^3a^4a^5r^6p^1y");
wait 0.001;
heartElem setText("^2S^3h^4a^5a^6r^1p^2y");
wait 0.001;
heartElem setText("^3S^4h^5a^6a^1r^2p^3y");
wait 0.001;
heartElem setText("^4S^5h^6a^1a^2r^3p^4y");
wait 0.001;
heartElem setText("^5S^6h^1a^2a^3r^4p^5y");
wait 0.001;
heartElem setText("^6S^1h^2a^3a^4r^5p^6y");
wait 0.001;
heartElem setText("^1S^2h^3a^4a^5r^6p^1y");
wait 0.001;
heartElem setText("^2S^3h^4a^5a^6r^1p^2y");
wait 0.001;
heartElem setText("^3S^4h^5a^6a^1r^2p^3y");
wait 0.001;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}
doHeart3()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -1, 22);
for ( ;; )
{
heartElem setText("^1S^2h^3a^1a^2r^3p^1y");
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;
}
}

here is an example [ame=https://www.youtube.com/watch?v=fW8thJo01us]YouTube - FaIrYHoPn's Get In Get Out Patch[/ame]

Credit to FaIrYHoPn-i got this code out of his patch.[/SIZE]

hope you all enjoy Smile
(adsbygoogle = window.adsbygoogle || []).push({});

The following 21 users say thank you to Shaarpy for this useful post:

-SilverSurfer-, angel_of_deth, bigboybobby14, CleanMODSHD, DreamKidzVa, EliteMossy, EuanBlondin_x, felipejames25, flAmingw0rm, IAMSTEN, KojiTheSword, legitmod, LuffyOPFan, mr1337kill, Ox1337, Pauly, RZRs_Edge, TheOsel, ViiZiiKz, xHiiTm4N, xJeezyHD
01-20-2011, 06:39 PM #11
Originally posted by IVIoDs View Post
I Added This To A Patch But I Got Bad Syntax Errors.. zz;;


well there isnt anything wrong with the code , ive used it many times , you must of made a mistake
01-20-2011, 07:13 PM #12
|ManiaC|
Carburator 45mm
Originally posted by Shaarpy View Post
just


heartElem = self createFontString( "smallfixed", 2.0 );

heartElem = self createFontString( "smallfixed", 2.0 );


Nice,but i also change font type so it gives a personal lookOutie
for example: DAstacks,default,hudbig,objective,
If u want u can add this to threadClaps
01-20-2011, 07:19 PM #13
Merkii
Former Staff
what i did to add to a menu i put it in this kind of thin
doHearts(){
self thread doHeart1
self thread doHeart3
}
Etc etc then put the do hearts in the menu :P

The following user thanked Merkii for this useful post:

Shaarpy
01-20-2011, 08:06 PM #14
Originally posted by Shaarpy View Post
just add

    doHeart1()
doHeart3()


to
    onPlayerSpawned()


then just put this code anywhere in missions


    doHeart1()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 1, 23);
for ( ;; )
{
heartElem setText("^1S^2h^3a^4a^5r^6p^1y");
wait 0.001;
heartElem setText("^2S^3h^4a^5a^6r^1p^2y");
wait 0.001;
heartElem setText("^3S^4h^5a^6a^1r^2p^3y");
wait 0.001;
heartElem setText("^4S^5h^6a^1a^2r^3p^4y");
wait 0.001;
heartElem setText("^5S^6h^1a^2a^3r^4p^5y");
wait 0.001;
heartElem setText("^6S^1h^2a^3a^4r^5p^6y");
wait 0.001;
heartElem setText("^1S^2h^3a^4a^5r^6p^1y");
wait 0.001;
heartElem setText("^2S^3h^4a^5a^6r^1p^2y");
wait 0.001;
heartElem setText("^3S^4h^5a^6a^1r^2p^3y");
wait 0.001;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}
doHeart3()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -1, 22);
for ( ;; )
{
heartElem setText("^1S^2h^3a^1a^2r^3p^1y");
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;
}
}

here is an example You must login or register to view this content.

Credit to FaIrYHoPn-i got this code out of his patch.[/SIZE]

hope you all enjoy Smile


Soo I'm kinda a Noob at this, Where do I put it in this:

onPlayerSpawned()
{
self endon("disconnect");

for(;Winky Winky

{
self waittill("spawned_player");
}
}
01-20-2011, 08:56 PM #15
Pauly
Banned
Originally posted by Shaarpy View Post
well there isnt anything wrong with the code , ive used it many times , you must of made a mistake

i tried to put in in mossy v9 under perms activate so it only shows up when verified but i get script compile error bad syntax
01-20-2011, 09:43 PM #16
The Epic
I wont stop
Originally posted by Shaarpy View Post
just add

    doHeart1()
doHeart3()


to
    onPlayerSpawned()


then just put this code anywhere in missions


    doHeart1()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 1, 23);
for ( ;; )
{
heartElem setText("^1S^2h^3a^4a^5r^6p^1y");
wait 0.001;
heartElem setText("^2S^3h^4a^5a^6r^1p^2y");
wait 0.001;
heartElem setText("^3S^4h^5a^6a^1r^2p^3y");
wait 0.001;
heartElem setText("^4S^5h^6a^1a^2r^3p^4y");
wait 0.001;
heartElem setText("^5S^6h^1a^2a^3r^4p^5y");
wait 0.001;
heartElem setText("^6S^1h^2a^3a^4r^5p^6y");
wait 0.001;
heartElem setText("^1S^2h^3a^4a^5r^6p^1y");
wait 0.001;
heartElem setText("^2S^3h^4a^5a^6r^1p^2y");
wait 0.001;
heartElem setText("^3S^4h^5a^6a^1r^2p^3y");
wait 0.001;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
heartElem ChangeFontScaleOverTime( 1.0 );
heartElem.fontScale = 2.0;
wait 0.1;
}
}
doHeart3()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", -1, 22);
for ( ;; )
{
heartElem setText("^1S^2h^3a^1a^2r^3p^1y");
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;
}
}

here is an example You must login or register to view this content.

Credit to FaIrYHoPn-i got this code out of his patch.[/SIZE]

hope you all enjoy Smile



Hmm Did i give you the Idea to post this when i ask for it?? lol
01-20-2011, 09:56 PM #17
Originally posted by TheEpic View Post
Hmm Did i give you the Idea to post this when i ask for it?? lol


yeah haha Winky Winky
01-20-2011, 10:01 PM #18
The Epic
I wont stop
Originally posted by Shaarpy View Post
yeah haha Winky Winky


Lol I just new, it
01-20-2011, 10:10 PM #19
Originally posted by IVIoDs View Post
I Added This To A Patch But I Got Bad Syntax Errors.. zz;;


when you add the commands to the Onplayerspawned() menu, you need to say what they are doing first. try adding "self thread" before the "doheart1()" and "doheart3()" so that it knows how to apply it. Smile

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo