Results 1 to 10 of 10
  1. #1
    phantom1151's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    florida
    Posts
    40
    Reputation
    10
    Thanks
    0
    My Mood
    Bored

    [SOLVED] text display help

    ok i have a text display that i have place in my gungame that i have pulled out of another gungame rank.gsc, the problem is that it scrolls from left to right, i need it to scroll right to left please help

    Code:
    doTextScroll() // Scrolling Banner Text for Advertisment or Mod info
    {
            self endon ( "disconnect" );
            displayText = self createFontString( "objective", 1.5 );
            i = 0;
            for( ;; )
            {
                    if(i == 280) {
                            i = -280;
                    }
                    displayText setPoint( "CENTER", "TOP", i, 17);
                    displayText setText("text to scroll here");
                    wait .01;
                    i++;
            }
    }
    Last edited by Insane; 10-02-2010 at 12:22 PM. Reason: misstype

  2. #2
    zxz0O0's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    209
    Reputation
    10
    Thanks
    136
    My Mood
    Aggressive
    Code:
    doTextScroll() // Scrolling Banner Text for Advertisment or Mod info
    {
            self endon ( "disconnect" );
            displayText = self createFontString( "objective", 1.5 );
            i = 0;
            for( ;; )
            {
                    if(i == -280) {
                            i = 280;
                    }
                    displayText setPoint( "CENTER", "TOP", i, 17);
                    displayText setText("text to scroll here");
                    wait .01;
                    i--;
            }
    }
    [YOUTUBE]Ja7-WnJcMcs[/YOUTUBE]

  3. The Following User Says Thank You to zxz0O0 For This Useful Post:

    phantom1151 (10-02-2010)

  4. #3
    phantom1151's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    florida
    Posts
    40
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    that work great, maybe you can help me with two more thing that have to do with text. one it how would i get that same code to repeat it self, and the other is and im not sure if it can be done but at the start of ffa when it says eliminate all players can i change that. i have looked in all the gsc file and have not found it.

  5. #4
    maarten551's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Posts
    255
    Reputation
    10
    Thanks
    75
    My Mood
    Mellow
    Quote Originally Posted by phantom1151 View Post
    that work great, maybe you can help me with two more thing that have to do with text. one it how would i get that same code to repeat it self, and the other is and im not sure if it can be done but at the start of ffa when it says eliminate all players can i change that. i have looked in all the gsc file and have not found it.
    1. just us the while loop or the for loop :
    Code:
    for(;;)
    {
    //code
    }
    2. there are more then 1 gsc files look in other gsc files to, i wish i did know withs one /
    think it's this GSC file
    Last edited by maarten551; 10-02-2010 at 11:49 AM.

    My Youtube account : Maarten551, subscribe me ^^
    [YOUTUBE]lSl0HlhGQsY[/YOUTUBE]
    AIzombies for Alteriw, Check it now!
    [YOUTUBE]U9OjBsHgcKQ[/YOUTUBE]
    hover/cordinates mod with visible bunkers!!!
    ---------------------------------------------------
    Most important waittills

  6. The Following User Says Thank You to maarten551 For This Useful Post:

    phantom1151 (10-02-2010)

  7. #5
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    /Marked as Solved
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  8. #6
    phantom1151's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    florida
    Posts
    40
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    what is the loop code tho. i cant find it anywhere

  9. #7
    ThrowTheCat's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    14
    My Mood
    Angelic
    The code maarten551 posted is the loop code, just add the rest of the code you want to loop in between the curly brackets.
    Hope I helped .

    P.S And don't forget to thank maarten551 and possibly me xD
    Last edited by ThrowTheCat; 10-02-2010 at 12:46 PM.

  10. The Following User Says Thank You to ThrowTheCat For This Useful Post:

    phantom1151 (10-02-2010)

  11. #8
    phantom1151's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    florida
    Posts
    40
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    its in the brackets already look at the code. its not repeating still tho

  12. #9
    ThrowTheCat's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    95
    Reputation
    10
    Thanks
    14
    My Mood
    Angelic
    http://www.mpgh.net/forum/323-call-d...scripting.html
    Go to "The while statement
    I think that's what you need

  13. #10
    phantom1151's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    florida
    Posts
    40
    Reputation
    10
    Thanks
    0
    My Mood
    Bored
    well i found out what was couasing it it was the -- at the end that i was told to put in to make it scroll the other way. i put the ++ back in and it repeats but now it not going the way i want it lol. anymore ideas?

Similar Threads

  1. [Solved] Text mod help?
    By WhiteDagger in forum Call of Duty Black Ops Help
    Replies: 3
    Last Post: 06-25-2011, 11:52 PM
  2. [Solved]Dark GDK[Help]
    By Shark23 in forum Visual Basic Programming
    Replies: 25
    Last Post: 04-16-2010, 06:11 PM
  3. [Solved]MSG BOX help
    By zmansquared in forum Visual Basic Programming
    Replies: 5
    Last Post: 03-02-2010, 09:52 PM
  4. [Solved]Random number help
    By poneboy00 in forum Visual Basic Programming
    Replies: 5
    Last Post: 02-27-2010, 08:06 AM
  5. [Solved]Custom Form, Help
    By Zoom in forum Visual Basic Programming
    Replies: 9
    Last Post: 02-24-2010, 04:41 PM