Results 1 to 9 of 9

Thread: [KILLTUBE.ORG TUT] How to create a Welcome Message via GuidScript

  1. #1
    Corporal STAUFFi's Avatar
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    269
    Thanks
    106
    Thanked 128 Times in 83 Posts

    Lightbulb [KILLTUBE.ORG TUT] How to create a Welcome Message via GuidScript

    Hello People,
    I´m STAUFFii from killtube.org.
    i want show you , how to create a Welcome Message via GuidScript.

    1.
    You open your .gsc (tdm,zom,dm or other) with Notpad++
    Downloadlink for Notpad++
    Then press STRG+F for open the SearchMenu



    And write Callback_PlayerConnect() and Enter!

    2.
    You see now Callback_PlayerConnect in the gsc so write under dummy();
    thread killtubeorgtut();



    3.
    And now search dummy() and write under dummy()



    The Script is with Music!! You can change it ( playsound admin )

    4.


    So its all right and we are nowfinish!
    Save it and start your Mod.
    Enjoy it

    Greet K~STAUFFii

  2. The Following 3 Users Say Thank You to STAUFFi For This Useful Post:

    kung foo man (5th January 2013),maxdamage99 (4th May 2015),Sp1re (4th January 2013)

  3. #2
    Private
    Join Date
    Aug 2012
    Posts
    28
    Thanks
    8
    Thanked 4 Times in 4 Posts
    nice one!
    i going use somewhere

  4. The Following User Says Thank You to Sp1re For This Useful Post:

    STAUFFi (4th January 2013)

  5. #3
    Corporal STAUFFi's Avatar
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    269
    Thanks
    106
    Thanked 128 Times in 83 Posts
    Thanks Mate :3

  6. #4
    Sergeant EvoloZz's Avatar
    Join Date
    Sep 2012
    Location
    Helsinki, Finland
    Posts
    360
    Thanks
    314
    Thanked 167 Times in 120 Posts
    Why is it checking guid 3 times? Also this seems to work only if you host from your own pc, and instead of ("" + self.name + ""), you could just use (self.name). But nice anyway

  7. The Following User Says Thank You to EvoloZz For This Useful Post:

    kung foo man (5th January 2013)

  8. #5
    Corporal STAUFFi's Avatar
    Join Date
    Aug 2012
    Location
    Germany
    Posts
    269
    Thanks
    106
    Thanked 128 Times in 83 Posts
    the script was for 3 people
    i changed only guids to 0

  9. #6
    Sergeant EvoloZz's Avatar
    Join Date
    Sep 2012
    Location
    Helsinki, Finland
    Posts
    360
    Thanks
    314
    Thanked 167 Times in 120 Posts
    Okay then :P

  10. #7
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    If you are going to use iprintlnbold() on a player, you need to specify the player as the entity:

    Code:
    self iprintlnbold( "TEXT" );
    Otherwise the server will throw a script runtime error because the game wont know what entity to use iprintlnbold() on (it has to be either a level entity of some sort, or a client entity).

    Also, remember: when testing, the getGuid() method wont work on a Local/Listen server (it will always return 0). To return a client's real guid, it has to be tested on a dedicated server.
    Last edited by Tally; 5th January 2013 at 04:57.

  11. The Following User Says Thank You to Tally For This Useful Post:

    kung foo man (5th January 2013)

  12. #8
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Untrue, at least for cod2.

    Not specifying the entity will make cod auto-assume the level entity, so it will become a global iprintlnbold.

  13. The Following User Says Thank You to IzNoGoD For This Useful Post:

    kung foo man (5th January 2013)

  14. #9
    Private
    Join Date
    Nov 2012
    Location
    Denmark, where else
    Posts
    27
    Thanks
    5
    Thanked 13 Times in 6 Posts
    IzNo is right, the print will be shown to all instead of a single client.

  15. The Following User Says Thank You to Sense For This Useful Post:

    kung foo man (11th January 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •