Results 1 to 8 of 8
  1. #1
    Zickan's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Help with text code

    I'm kinda new to GSC coding and i would like to know if it's possible to create a text for all players when another player joins with his name in it?

  2. #2
    JustAndy's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Posts
    62
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    AIZombieseXtreme did it:

    Code:
    		self thread IntroText( "Welcome" );
    		self thread IntroText2( self.name );
    in the _intro.gsc file

  3. #3
    moja.jst's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    436
    Reputation
    10
    Thanks
    27
    My Mood
    Sneaky
    Whats must be structure of _intro.gsc ??? like normal structure because its is not posted where all other default .gsc files are

  4. #4
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    166
    My Mood
    Angelic
    Ever checked the GSC rip collection?

  5. #5
    moja.jst's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    436
    Reputation
    10
    Thanks
    27
    My Mood
    Sneaky
    Quote Originally Posted by mathieutje12 View Post
    Ever checked the GSC rip collection?
    no such thing there

  6. #6
    dsds1's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    63
    Reputation
    10
    Thanks
    2
    My Mood
    Fine
    There is many ways to make welcome text, the easiest is

    Code:
    self thread maps\mp\gametypes\_hud_message::hintMessage("Welcome, self.name");
    Press thanks if I helped you
    my English grammar not good

  7. #7
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,676
    Reputation
    905
    Thanks
    19,113
    My Mood
    Angelic
    What you guys are missing is:
    He want everyone to see it.
    Well, long time since I coded but....

    I suppose there is like 2 common ways.

    1:
    Use level instead of self.
    level is actions that will happen for the game. And not just 1 player
    OR
    we can use the player function. (Might be wrong spelled or so but..)

    foreach( player in level.players)
    {
    player thread maps\mp\gametypes\_hud_message::hintMessage("^2Wel come, ^3" + self.name + ".");
    }


    I can't say it will work for 100% but it might do. (Mostly like the last one.)

     
    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

  8. #8
    writeoffz's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Location
    Antwerp
    Posts
    16
    Reputation
    10
    Thanks
    1
    The last one will work for sure, I think xD

Similar Threads

  1. [Help Request] need help with injecting code/using it
    By 0xx-kyle-xx0 in forum Combat Arms Help
    Replies: 1
    Last Post: 06-17-2018, 12:02 PM
  2. [HELP] I NEED HELP WITH STAMINA CODE
    By ilovepie21 in forum Visual Basic Programming
    Replies: 15
    Last Post: 03-03-2008, 07:41 PM
  3. Help with Request Code for Adobe Illustrator
    By Groover111 in forum General Game Hacking
    Replies: 1
    Last Post: 02-27-2008, 08:46 AM
  4. need help with teleport code
    By konni in forum WarRock - International Hacks
    Replies: 0
    Last Post: 07-29-2007, 11:07 PM
  5. NEED help with verification code when registering!
    By vinogradov in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-30-2007, 07:20 PM