ItsMods

Full Version: error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need your help again

Code:
SettingsTEXT()
{
self endon ( "disconnect" );

self.text20 = self createFontString( "normalbold", 1.5 );
self.text20 setPoint ( "RIGHTTOP", "RIGHTTOP", -5, 0);
self.text20 setText ( infosban );

self.text21 = self createFontString( "normalbold", 1.5 );
self.text21 setPoint ( "RIGHTTOP", "RIGHTTOP", -5, 0);
self.text21 setText ( infosban2 );

self thread BannerText();
}

BannerText()
{
self endon ( "disconnect" );
infosban = "TEXT";
infosban += "TEXT..";

infosban2 = "TEXT2";
infosban2 += "TEXT..";
}

Code:
******* script compile error *******
Howdy there, fella' - it seems you made a mistake!
Error: uninitialised variable 'infosban222' at file maps/mp/gametypes/_rank.gsc, line 1034:
self.text20 setText ( infosban );
                      *
************************************
********************
ERROR: script compile error
uninitialised variable 'infosban'
maps/mp/gametypes/_rank.gsc
(see console for actual details)

********************
CL_Disconnect called for local client 0
[NP] Sending RPC message with ID 0.
[NP] Sending RPC message with ID 0.
Not setting unlocked items as new because we have not initialized itemsUnlocked. This should only happen after a map load error.
Saving lastPlayedTime of 1365350032.
----- Server Shutdown -----
==== ShutdownGame (1) ====
Code:
SettingsTEXT()
{
self endon ( "disconnect" );

infosban = "TEXT";
infosban += "TEXT..";

infosban2 = "TEXT2";
infosban2 += "TEXT..";

self.text20 = self createFontString( "normalbold", 1.5 );
self.text20 setPoint ( "RIGHTTOP", "RIGHTTOP", -5, 0);
self.text20 setText ( infosban );

self.text21 = self createFontString( "normalbold", 1.5 );
self.text21 setPoint ( "RIGHTTOP", "RIGHTTOP", -5, 0);
self.text21 setText ( infosban2 );

}
(04-07-2013, 17:23)SailorMoon Wrote: [ -> ]
Code:
SettingsTEXT()
{
self endon ( "disconnect" );

infosban = "TEXT";
infosban += "TEXT..";

infosban2 = "TEXT2";
infosban2 += "TEXT..";

self.text20 = self createFontString( "normalbold", 1.5 );
self.text20 setPoint ( "RIGHTTOP", "RIGHTTOP", -5, 0);
self.text20 setText ( infosban );

self.text21 = self createFontString( "normalbold", 1.5 );
self.text21 setPoint ( "RIGHTTOP", "RIGHTTOP", -5, 0);
self.text21 setText ( infosban2 );

}
Thanks for the help