(06-21-2014, 21:20)26hz Wrote: after 4 hours of pain i still havent got any idea to fix it yamato help me
I think this could do the fix
Code:
YOURTEXT( value )
{
if( ! isdefined( self.roundimage ) )
self.roundimage = [];
i = self.roundimage.size;
self.roundimage[i] = self createFontString( "default", 1.7, self );
self.roundimage[i] setPoint( "", "", randomIntRange( -100, 100 ), randomIntRange( -100, 100 ) );
self.roundimage[i] setValue( value );
self.roundimage[i].color = ( 1, 1, 1 );
self.roundimage[i].sort = 15;
self.roundimage[i].alpha = 1;
self.roundimage[i].foreground = true;
self.roundimage[i].glowcolor = ( 0, 1, 0 );
self.roundimage[i].glowalpha = 1;
self.roundimage[i] setParent( level.uiParent );
self.roundimage[i].hideWhenInMenu = false;
self.roundimage[i].archived = false;
self thread KillOnDeath( self.roundimage[i] )
wait 0.5;
if( isdefined( self.roundimage[i] ) )
self.roundimage[i] destroy();
}
KillonDeath( elem )
{
self waittill_any( "disconnect", "death", "spawned_player" );
if( isdefined( elem ) )
elem destroy();
}