Results 1 to 6 of 6
  1. #1
    Michaelclaw's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    12
    My Mood
    Happy

    How do i add onscreen text? to support my teamspeak.

    I would like to add onscreen text to support my teamspeak for my clan. Right now the screen has Galactic Gaming iSnipe on the topright already i would like the onscreen text to be in the topleft. can someone help me? Please give detailed instructions...im a noob lol

  2. #2
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    Code:
    HudElem x;
    
    x = HudElem.CreateServerFontString("hudsmall", 0.5f);
    x.SetPoint("BOTTOMLEFT", "BOTTOMLEFT", 2, -140);
    x.SetText("^1MPGH.NET!!!");

  3. #3
    Michaelclaw's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    12
    My Mood
    Happy
    Okay i posted the code like this
    (down)



    isLastRestXPAward( baseXP )
    {
    if ( !getdvarint( "scr_restxp_enable" ) )
    return false;

    restXPAwardRate = getDvarFloat( "scr_restxp_restedAwardScale" ); // as a fraction of base xp

    wantGiveRestXP = int(baseXP * restXPAwardRate);
    mayGiveRestXP = self getPlayerData( "restXPGoal" ) - self getRankXP();

    if ( mayGiveRestXP <= 0 )
    return false;

    if ( wantGiveRestXP >= mayGiveRestXP )
    return true;

    return false;
    }

    syncXPStat()
    {
    xp = self getRankXP();

    self maps\mp\gametypes\_persistence::statSet( "experience", xp );
    }

    HudElem x;

    x = HudElem.CreateServerFontString("hudsmall", 0.5f);
    x.SetPoint("BOTTOMLEFT", "BOTTOMLEFT", 2, -140);
    x.SetText("^5JOIN OUR TEAMSPEAK!! galacticgaming.teamspeak****");






    i tried it like this (pasted the code into _rank.gsc) and it didnt work





    Attached Thumbnails Attached Thumbnails
    Capture.PNG  

    Last edited by Michaelclaw; 04-23-2013 at 02:15 AM.

  4. #4
    Kenshin13's Avatar
    Join Date
    May 2011
    Gender
    male
    Location
    Cloud 9
    Posts
    3,473
    Reputation
    564
    Thanks
    5,876
    My Mood
    Psychedelic
    Oh, my bad. I didn't know you were talking about GSC. Just look at sources to find out how. I don't use GSC myself.

  5. #5
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,539
    My Mood
    Angelic
    Look here:
    http://www.mpgh.net/forum/308-call-d...ml#post4311594

    Scroll a little down and you find the scrolling text

    Or just to set text:
    Code:
    WriteText()
    {
        myText = self createFontString( "objective", 1.3 );//Change font size
        myText setPoint( "TOPRIGHT", "TOPRIGHT");//Set the position of the text
        myText setText("This is my Text :D"); //Set the text
    }

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  6. #6
    Michaelclaw's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    25
    Reputation
    10
    Thanks
    12
    My Mood
    Happy
    /solved
    /close

Similar Threads

  1. [Help Request] how to add marquee text to IW26??
    By hamed2011 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 4
    Last Post: 09-26-2011, 01:28 PM
  2. How do i add hotkeys to my hack (VB6) ??
    By floris12345! in forum Visual Basic Programming
    Replies: 1
    Last Post: 01-04-2008, 06:29 AM
  3. How can i add hotkeys in Visual c++
    By nbr1dan in forum C++/C Programming
    Replies: 7
    Last Post: 11-03-2007, 04:32 PM
  4. How do i add my userbar ??
    By Jumper01 in forum Suggestions, Requests & Help
    Replies: 3
    Last Post: 07-09-2007, 04:42 PM
  5. how do you add fonts in PS
    By darkone1149 in forum Art & Graphic Design
    Replies: 2
    Last Post: 02-06-2006, 06:32 PM