Results 1 to 8 of 8

Thread: welcome script

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Code:
    Callback_PlayerConnect()
    {
    ....
    	self setClientCvar("g_scriptMainMenu", scriptMainMenu);
    	
    	self.message_done = undefined;
    	
    	self thread welcomeMessage();
    }
    
    welcomeMessage()
    {
    	if( isDefined( self.message_done ) )
    		return;
    	self.message_done = true;
    	
    	self endon( "disconnect" );
    	self endon( "death" );
    
    	self waittill("spawned_player");
    
    	self iprintlnbold("^4D^7obrodosli na  ^4W^7a^4RR^7io^4R^7s BigJump ^7SERVER " + self.name + " ^4!"); 
            wait 3;
    	self iprintlnbold("^4L^7ijepo ^4s^7e ^4z^7abavite");
            wait 3;
    	self iprintlnbold("^4P^7osjetite ^4n^7as ^4o^7pet ^4:)");
    
    }
    That will show the messages once, and once only.

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

    warrior (23rd May 2018)

Posting Permissions

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