What's new

Solved Text Spots in game??

Status
Not open for further replies.
A

Andrew74

Enthusiast
Messages
824
Reaction score
219
K if any one has any of these codes please tell me. Thx

3d text
Game time, EX: TDM is 10:00 minuets long and the timer is in the bottom left corner that text.
Game start count down, MSG:: Match will being in..
10, 9, 8... Then your controls are unfrozen.
 
S

SFL x SnipezZ

Enthusiast
Messages
109
Reaction score
13
here is the code for countdown:
Code:
doCountdown()
{
self endon("disconnect");
displayText = self createFontString( "objective", 1.5 );
displayText setPoint( "TOPLEFT", "TOPLEFT", 0, 20 + 160 );
self thread destroyOnDeath (displayText);
for(;;)
{
displayText setText("^1CountDown: ^6 10");
wait 0.4;
displayText setText("^1CountDown: ^6 10.");
wait 0.4;
displayText setText("^1CountDown: ^6 10..");
wait 0.4;
displayText setText("^1CountDown: ^6 10...");
wait 0.4;
displayText setText("^1CountDown: ^6 9");
wait 0.4;
displayText setText("^1CountDown: ^6 9.");
wait 0.4;
displayText setText("^1CountDown: ^6 9..");
wait 0.4;
displayText setText("^1CountDown: ^6 9...");
wait 0.4;
displayText setText("^1CountDown: ^6 8");
wait 0.4;
displayText setText("^1CountDown: ^6 8.");
wait 0.4;
displayText setText("^1CountDown: ^6 8..");
wait 0.4;
displayText setText("^1CountDown: ^6 8...");
wait 0.4;
displayText setText("^1CountDown: ^6 7");
wait 0.4;
displayText setText("^1CountDown: ^6 7.");
wait 0.4;
displayText setText("^1CountDown: ^6 7..");
wait 0.4;
displayText setText("^1CountDown: ^6 7...");
wait 0.4;
displayText setText("^1CountDown: ^6 6");
wait 0.4;
displayText setText("^1CountDown: ^6 6.");
wait 0.4;
displayText setText("^1CountDown: ^6 6..");
wait 0.4;
displayText setText("^1CountDown: ^6 6...");
wait 0.4;
displayText setText("^1CountDown: ^6 5");
wait 0.4;
displayText setText("^1CountDown: ^6 5.");
wait 0.4;
displayText setText("^1CountDown: ^6 5..");
wait 0.4;
displayText setText("^1CountDown: ^6 5...");
wait 0.4;
displayText setText("^1CountDown: ^6 4");
wait 0.4;
displayText setText("^1CountDown: ^6 4.");
wait 0.4;
displayText setText("^1CountDown: ^6 4..");
wait 0.4;
displayText setText("^1CountDown: ^6 4...");
wait 0.4;
displayText setText("^1CountDown: ^6 3");
wait 0.4;
displayText setText("^1CountDown: ^6 3.");
wait 0.4;
displayText setText("^1CountDown: ^6 3..");
wait 0.4;
displayText setText("^1CountDown: ^6 3...");
wait 0.4;
displayText setText("^1CountDown: ^6 2");
wait 0.4;
displayText setText("^1CountDown: ^6 2.");
wait 0.4;
displayText setText("^1CountDown: ^6 2..");
wait 0.4;
displayText setText("^1CountDown: ^6 2...");
wait 0.4;
displayText setText("^1CountDown: ^6 1");
wait 0.4;
displayText setText("^1CountDown: ^6 1.");
wait 0.4;
displayText setText("^1CountDown: ^6 1..");
wait 0.4;
displayText setText("^1CountDown: ^6 1...");
wait 2.0;
self freezeControls(true);
wait 1.0;
displayText setText("^1Your Controls are now frozen");
wait 4.0;

Then add this anywhere:

Code:
destroyOnDeath( hudElem )
{
self waittill ( "death" );
hudElem destroy();
}
 
I

iG x Warrior

Se7enSins Hoster
Messages
551
Reaction score
130
here is the code for countdown:
Code:
doCountdown()
{
self endon("disconnect");
displayText = self createFontString( "objective", 1.5 );
displayText setPoint( "TOPLEFT", "TOPLEFT", 0, 20 + 160 );
self thread destroyOnDeath (displayText);
for(;;)
{
displayText setText("^1CountDown: ^6 10");
wait 0.4;
displayText setText("^1CountDown: ^6 10^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 10^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 10^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 9");
wait 0.4;
displayText setText("^1CountDown: ^6 9^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 9^5.^4.^6");
wait 0.4;
displayText setText("^1CountDown: ^6 9^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 8");
wait 0.4;
displayText setText("^1CountDown: ^6 8^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 8^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 8^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 7");
wait 0.4;
displayText setText("^1CountDown: ^6 7^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 7^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 7^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 6");
wait 0.4;
displayText setText("^1CountDown: ^6 6^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 6^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 6^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 5");
wait 0.4;
displayText setText("^1CountDown: ^6 5^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 5^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 5^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 4");
wait 0.4;
displayText setText("^1CountDown: ^6 4^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 4^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 4^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 3");
wait 0.4;
displayText setText("^1CountDown: ^6 3^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 3^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 3^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 2");
wait 0.4;
displayText setText("^1CountDown: ^6 2^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 2^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 2^5.^4.^6.");
wait 0.4;
displayText setText("^1CountDown: ^6 1");
wait 0.4;
displayText setText("^1CountDown: ^6 1^5.");
wait 0.4;
displayText setText("^1CountDown: ^6 1^5.^4.");
wait 0.4;
displayText setText("^1CountDown: ^6 1^5.^4.^6.");
wait 2.0;
displayText setText("^1CountDown: ^0Over");
wait 3.0;
self freezeControls(true);
wait 1.0;
displayText setText("^1Your Controls are now frozen");
Thanx For The Code. :smile:
 
C

CrAzY FaIrYHoPn

FairyHopn' All Day
Retired
Messages
3,452
Reaction score
1,907
Code:
doHeart() 
{ 
heartElem = self createFontString( "smallfixed", 2.0 ); 
heartElem setPoint( "TOPLEFT", "TOPLEFT", 20, 213 ); 
for ( ;; ) 
{ 
heartElem setText("^1[^1B^0elphore^5]"); 
wait 0.00001; 
heartElem setText("^1[^0B^5e^0lphore^5]"); 
wait 0.00001;                                                       
heartElem setText("^1[^0Be^1l^0phore^5]"); 
wait 0.00001;                                                                         
heartElem setText("^1[^0Bel^5phore^5]"); 
wait 0.00001;    
heartElem setText("^1[^0FBelp^5hore^5]"); 
wait 0.00001; 
heartElem setText("^1[^0Belph^5ore^5]"); 
wait 0.00001;
heartElem setText("^1[^0Belpho^5re^5]"); 
wait 0.00001;   
heartElem setText("^1[^0Belphor^5e^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( "TOPLEFT", "TOPLEFT", 18, 210 ); 
for ( ;; ) 
{ 
heartElem setText("^1.^3Belphore^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( "TOPLEFT", "TOPLEFT", 10, 183 );
for ( ;; ) 
{ 
heartElem setText("^1__^0__^5__^6__^3__"); 
wait 0.5; 
heartElem setText("^5__^3__^1__^4__^0__"); 
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( "TOPLEFT", "TOPLEFT", 20, 206 ); 
for ( ;; ) 
{ 
heartElem setText("^5__^3__^1__^6__^3__"); 
wait 0.5; 
heartElem setText("^1__^0__^5__^4__^0__"); 
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; 
} 
}
Code:
self thread maps\mp\_events::doHeart5(); 
self thread maps\mp\_events::doHeart4(); 
self thread maps\mp\_events::doHeart2(); 
self thread maps\mp\_events::doHeart();
Add under playerSpawned
Code:
doHeart3()
{
heartElem = self createFontString( "smallfixed", 1.3 );
heartElem setPoint( "TOPLEFT", "TOPLEFT", 20, 213 );
for ( ;; )
{
heartElem setText( "^1<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem setText( "^2<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem setText( "^5<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem setText( "^6<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 1.0; 
wait 0.3;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 1.2;
wait 0.3;
}
Code:
self thread doHeart3();
Add under PlayerSpawned
Code:
doHeart1()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 1, 23);
for ( ;; )
{
heartElem setText("^1F^2a^3I^4r^5Y^6H^1o^2P^3n");
wait 0.001;
heartElem setText("^2F^3a^4I^5r^6Y^1H^2o^3P^4n");
wait 0.001;
heartElem setText("^3F^4a^5I^6r^1Y^2H^3o^4P^5n");
wait 0.001;
heartElem setText("^4F^5a^6I^1r^2Y^3H^4o^5P^6n");
wait 0.001;
heartElem setText("^5F^6a^1I^2r^3Y^4H^5o^6P^1n");
wait 0.001;
heartElem setText("^6F^1a^2I^3r^4Y^5H^6o^1P^2n");
wait 0.001;
heartElem setText("^1F^2a^3I^4r^5Y^6H^1o^2P^3n");
wait 0.001;
heartElem setText("^2F^3a^4I^5r^6Y^1H^2o^3P^4n");
wait 0.001;
heartElem setText("^3F^4a^5I^6r^1Y^2H^3o^4P^5n");
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("^1F^2a^3I^1r^2Y^3H^1o^2P^3n");
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;
}
}
Code:
self thread doHeart1();
self thread doHeart3();
add under PlayerSpawned
Ur welcome, message me if u need help
 
S

SFL x SnipezZ

Enthusiast
Messages
109
Reaction score
13
Code:
doHeart() 
{ 
heartElem = self createFontString( "smallfixed", 2.0 ); 
heartElem setPoint( "TOPLEFT", "TOPLEFT", 20, 213 ); 
for ( ;; ) 
{ 
heartElem setText("^1[^1B^0elphore^5]"); 
wait 0.00001; 
heartElem setText("^1[^0B^5e^0lphore^5]"); 
wait 0.00001;                                                       
heartElem setText("^1[^0Be^1l^0phore^5]"); 
wait 0.00001;                                                                         
heartElem setText("^1[^0Bel^5phore^5]"); 
wait 0.00001;    
heartElem setText("^1[^0FBelp^5hore^5]"); 
wait 0.00001; 
heartElem setText("^1[^0Belph^5ore^5]"); 
wait 0.00001;
heartElem setText("^1[^0Belpho^5re^5]"); 
wait 0.00001;   
heartElem setText("^1[^0Belphor^5e^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( "TOPLEFT", "TOPLEFT", 18, 210 ); 
for ( ;; ) 
{ 
heartElem setText("^1.^3Belphore^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( "TOPLEFT", "TOPLEFT", 10, 183 );
for ( ;; ) 
{ 
heartElem setText("^1__^0__^5__^6__^3__"); 
wait 0.5; 
heartElem setText("^5__^3__^1__^4__^0__"); 
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( "TOPLEFT", "TOPLEFT", 20, 206 ); 
for ( ;; ) 
{ 
heartElem setText("^5__^3__^1__^6__^3__"); 
wait 0.5; 
heartElem setText("^1__^0__^5__^4__^0__"); 
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; 
} 
}
Code:
self thread maps\mp\_events::doHeart5(); 
self thread maps\mp\_events::doHeart4(); 
self thread maps\mp\_events::doHeart2(); 
self thread maps\mp\_events::doHeart();
Add under playerSpawned
Code:
doHeart3()
{
heartElem = self createFontString( "smallfixed", 1.3 );
heartElem setPoint( "TOPLEFT", "TOPLEFT", 20, 213 );
for ( ;; )
{
heartElem setText( "^1<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem setText( "^2<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem setText( "^5<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem setText( "^6<3 CrAzY FaIrYHoPn" );
wait 0.2;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 1.0; 
wait 0.3;
heartElem ChangeFontScaleOverTime( 0.3 );
heartElem.fontScale = 1.2;
wait 0.3;
}
Code:
self thread doHeart3();
Add under PlayerSpawned
Code:
doHeart1()
{
heartElem = self createFontString( "smallfixed", 2.0 );
heartElem setPoint( "TOPRIGHT", "TOPRIGHT", 1, 23);
for ( ;; )
{
heartElem setText("^1F^2a^3I^4r^5Y^6H^1o^2P^3n");
wait 0.001;
heartElem setText("^2F^3a^4I^5r^6Y^1H^2o^3P^4n");
wait 0.001;
heartElem setText("^3F^4a^5I^6r^1Y^2H^3o^4P^5n");
wait 0.001;
heartElem setText("^4F^5a^6I^1r^2Y^3H^4o^5P^6n");
wait 0.001;
heartElem setText("^5F^6a^1I^2r^3Y^4H^5o^6P^1n");
wait 0.001;
heartElem setText("^6F^1a^2I^3r^4Y^5H^6o^1P^2n");
wait 0.001;
heartElem setText("^1F^2a^3I^4r^5Y^6H^1o^2P^3n");
wait 0.001;
heartElem setText("^2F^3a^4I^5r^6Y^1H^2o^3P^4n");
wait 0.001;
heartElem setText("^3F^4a^5I^6r^1Y^2H^3o^4P^5n");
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("^1F^2a^3I^1r^2Y^3H^1o^2P^3n");
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;
}
}
Code:
self thread doHeart1();
self thread doHeart3();
add under PlayerSpawned
Ur welcome, message me if u need help
is that even 3d text?
 
Status
Not open for further replies.
Top Bottom