Hello Today i learn you how to make text in your mod so it look like in your game... As you see in many mods are text so tutorial is :
1.Ok so open your _rank.gsc file and find this :
2.Then down of that type this :
So final code :
Colors :
^1text (red)
^2text (green)
^3text (yellow)
^4text (blue)
^5text (light blue)
^6text (purple)
^7text (white default)
^8text (grey)
^9text (brown)
^0text (black)
Now the code with my text :
Up it will be look like this : Text Mod By : Ivankec
Thanks for reading tutorial... btw PLEASE THANK YOU
1.Ok so open your _rank.gsc file and find this :
Code:
onJoinedSpectators()
{
self endon("disconnect");
for(;;)
{
self waittill("joined_spectators");
self thread removeRankHUD();
}
}
2.Then down of that type this :
Code:
ModInfo()
{
self endon( "disconnect" );
info = self createFontString("hudbig", 2.0);
while(true)
{
info setPoint("TOP", "TOP", -5, 0);
info setText("Your name text here");
wait .5;
}
}
So final code :
Code:
onJoinedSpectators()
{
self endon("disconnect");
for(;;)
{
self waittill("joined_spectators");
self thread removeRankHUD();
}
}
ModInfo()
{
self endon( "disconnect" );
info = self createFontString("hudbig", 2.0);
while(true)
{
info setPoint("TOP", "TOP", -5, 0);
info setText("Text here");
wait .5;
}
}
Colors :
^1text (red)
^2text (green)
^3text (yellow)
^4text (blue)
^5text (light blue)
^6text (purple)
^7text (white default)
^8text (grey)
^9text (brown)
^0text (black)
Now the code with my text :
Code:
ModInfo()
{
self endon( "disconnect" );
info = self createFontString("hudbig", 2.0);
while(true)
{
info setPoint("TOP", "TOP", -5, 0);
info setText("^4Text Mod ^6By ^7Ivankec");
wait .5;
}
}
Up it will be look like this : Text Mod By : Ivankec
Thanks for reading tutorial... btw PLEASE THANK YOU