Results 1 to 6 of 6
  1. #1
    Shwin420's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    51
    Reputation
    10
    Thanks
    13
    My Mood
    Mellow

    Question Message on top during gameplay (like sniperlobby)

    Hey guys, recently i been wanting to edit a couple mods that i host more then others, n ppl constantly ask whos hosting, so i wanna make a top message kinda like sniperlobby has. I tested out just a test of editing on sniperlobby to see if it would work n it did, but once i transfer the code to another mod, i also put the playerspawned code in the correct spot, but i still get errors

    anyone got any ideas?

    doTopMessage()
    {
    self endon ( "disconnect" );
    self endon ( "death" );

    self.displayTextIns = self createFontString( "objective", 1.0 );
    self.displayTextIns setPoint( "TOP", "TOP", 0, 0 );
    self thread DestroyOnDeath(self.displayTextIns);

    for(;
    {
    self.displayTextIns setText( "^0Barsh^2420^0's ^1l^0obby" );
    wait 1;
    self.displayTextIns setText( "^0Barsh^2420^0's l^1o^0bby" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lo^1b^0by" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lob^1b^0y" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lobb^1y" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's ^1l^0obby" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's l^1o^0bby" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lo^1b^0by" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lob^1b^0y" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lobb^1y" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's ^1l^0obby" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lo^1b^0by" );
    wait .10;
    self.displayTextIns setText( "^0Barsh^2420^0's lobb^1y^0" );
    wait 1;
    }
    }


    onPlayerSpawned()
    {
    self endon("disconnect");

    for(;
    {
    self waittill("spawned_player");
    self thread doDvars();
    self thread doTopMessage();

    }
    }
    now u see guys, the spot for the actual msg, works in sniperlobby, but when i transfer the code (with the onPlayerSpawned part of the code) it doesnt seem to work on other mods?? if anyone can help plz lemme know asap
    [img]https://i11.photobucke*****m/albums/a178/barshcnitzel/marley-1.png[/img]

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,858
    Reputation
    3438
    Thanks
    101,656
    My Mood
    Breezy
    DestroyOnDeath is missing..
    Code:
    destroyOnDeath(hudElem)
    {
    self waittill("death");
    hudElem destroy();
    }
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.7.3
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

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

    Shwin420 (09-23-2010)

  4. #3
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    Like Custom Killstreaks*
    Rowan is a twat who keeps stealing shit from me
    www.YouTube.com/MpKiller100

  5. #4
    TheSaboteur's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    wasteland,church
    Posts
    454
    Reputation
    10
    Thanks
    30
    My Mood
    Goofy
    Quote Originally Posted by AZUMIKKEL View Post
    Like Custom Killstreaks*
    Rowan is a twat who keeps stealing shit from me
    yhaa xD i knwo rowan in rl :|


    xD i love your title to but i want the girl instead of the skull whit the big sword.



    Bring a Ding Ding Baby!

  6. #5
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    *sigh*
    and again i have to post something from roll the dice v3 xD

    Code:
    		rollName = ("^1Distracting"); // remove this
    			distracting = createIcon( "cardtitle_sunbather", 120, 25 );
    			distracting setPoint( "CENTER", "TOPLEFT", 50, 60 );
    			distracting.hideWhenInMenu = true;
    			distracting.foreground = true;
    			self thread Death(distracting);
    Remember to make a thread named Death(hudelem) which destroy() it on death. I suppose you know how to do that.
    Last edited by AZUMIKKEL; 09-23-2010 at 08:08 AM.
    www.YouTube.com/MpKiller100

  7. #6
    Shwin420's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    51
    Reputation
    10
    Thanks
    13
    My Mood
    Mellow
    Thanks guys, finally got working
    [img]https://i11.photobucke*****m/albums/a178/barshcnitzel/marley-1.png[/img]

Similar Threads

  1. Gameplay Like Crossfire
    By EviL_WaLdO in forum CrossFire Discussions
    Replies: 10
    Last Post: 09-27-2010, 03:00 AM
  2. [Discussion] Do you like this gameplay?
    By /b/oss in forum Operation 7 General
    Replies: 3
    Last Post: 06-06-2010, 04:18 PM
  3. Top 5 people you'd like to meet IRL
    By GOD in forum General
    Replies: 194
    Last Post: 11-15-2009, 07:13 AM
  4. warrock keeps kicking me out of the game during gameplay
    By lemonkillr in forum WarRock - International Hacks
    Replies: 8
    Last Post: 07-22-2009, 10:39 PM
  5. top of screen message hack
    By hjerherjdsd in forum WarRock - International Hacks
    Replies: 30
    Last Post: 07-31-2006, 06:39 PM