Results 1 to 10 of 10
  1. #1
    Private Ali's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Oberfranken
    Posts
    91
    Reputation
    17
    Thanks
    10
    My Mood
    Cynical

    Servername top right corner

    Code:
    ModInfo()
    
    	{
    
    self endon( "disconnect" );
    info = self createFontString("hudbig", 0.8);
    
    while(true)
    	{
    
    info setPoint("TOPRIGHT", "TOPRIGHT", -5, 0);
    info setText("Your Text");
    wait .5;
    
    	}
    		
    		}

    I Don't Know Why It's Not Working.

    Please Help Me,

    Private Ali

  2. #2
    sdm's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    8
    My Mood
    Angelic
    Try this:

    Code:
    ModInfo(){self endon("disconnect");self.info = self createFontString( "objective", 0.8 );while(1){self.info setPoint( "TOP", "RIGHT", -5, 0 );self.info setText("Your text here");wait .5;}}
    Post here if this works =D
    Last edited by sdm; 03-18-2011 at 06:37 PM.

  3. #3
    RarnX's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    31
    Reputation
    10
    Thanks
    0
    My Mood
    Angry
    Quote Originally Posted by sdm View Post
    Try this:

    Code:
    ModInfo(){self endon("disconnect");self.info = self createFontString( "objective", 0.8 );while(1){self.info setPoint( "TOP", "RIGHT", -5, 0 );self.info setText("Your text here");wait .5;}}
    Post here if this works =D
    not working .

  4. #4
    sdm's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    8
    My Mood
    Angelic
    Whats the includes u are using?

    Code:
    ModInfo(){
    	self endon("disconnect");
    	self info = self createFontString( "objective", 1 );
    	while(1){
    	self info setPoint( "TOP", "RIGHT", -5, 0 );
    	self info setText("Your text here");wait 0.05;}
    	}

  5. #5
    ♪~ ᕕ(ᐛ)ᕗ's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Uterus
    Posts
    9,117
    Reputation
    1096
    Thanks
    1,970
    My Mood
    Doh
    https://www.mpgh.net/forum/308-call-d...-v3-alpha.html

    To be sure that the mod is well coded.

  6. #6
    sdm's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    169
    Reputation
    10
    Thanks
    8
    My Mood
    Angelic
    hahahaha Play&Win I used your gsc error checker and found no error...

  7. #7

  8. #8
    kuyakyloo's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    in my house
    Posts
    59
    Reputation
    10
    Thanks
    6
    My Mood
    Sleepy
    Did you thread it?

  9. #9
    NoLim1t's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    ïṉ τhε ṡќÿ <3
    Posts
    84
    Reputation
    10
    Thanks
    26
    My Mood
    Cheerful
    there is a thread that has all the codes that involve text here at MPGH. Unfortuannly i forgot where thet are located

  10. #10
    kuyakyloo's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    in my house
    Posts
    59
    Reputation
    10
    Thanks
    6
    My Mood
    Sleepy


    It works for me. You forgot to call the thread.
    Code:
    onPlayerSpawned()
    {
    	self endon("disconnect");
    	self thread ModInfo();
    }
    You have to put it in onPlayerSpawned().
    Last edited by kuyakyloo; 03-22-2011 at 09:15 PM.