Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request How to change load message?
#11
where do I need to call the "NewDidYouKnow()" ?
In _load.gsc at onPlayerConnect?
Reply

#12
(07-04-2012, 16:09)TheRaZ Wrote: where do I need to call the "NewDidYouKnow()" ?
In _load.gsc at onPlayerConnect?

When the player connects Tongue
Reply

#13
(07-04-2012, 16:25)Rendflex Wrote:
(07-04-2012, 16:09)TheRaZ Wrote: where do I need to call the "NewDidYouKnow()" ?
In _load.gsc at onPlayerConnect?

When the player connects Tongue

I have tried onPlayerConnect() in:
_events.gsc - not worked (compile error)
_rank.gsc - server starting normally, but messages not working
_zkslist.gsc (custom mod gsc) - not worked (compile error)

Code:
        player thread maps\mp\_players::NewDidYouKnow();

Any idea?
Reply

#14
No... _players.gsc doesn't exist for you, just put the thread I posted in your .GSC.
Reply

#15
(07-04-2012, 18:31)Rendflex Wrote: No... _players.gsc doesn't exist for you, just put the thread I posted in your .GSC.

It is exist, I have created it.

Code:
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\gametypes\_hud_util;

NewDidYouKnow()
    {
        switch(Randomint(4))
        {
        case 0:
            self setClientDvar("didyouknow", "RaZ's TDM Mod v1.4 welcomes you!");
            break;
    
        case 1:
            self setClientDvar("didyouknow", "Press 3 to use the inbuilt Hello all message");
            break;
        
        case 2:
            self setClientDvar("didyouknow", "Welcome you on my server! Have fun!");
            break;
        
        case 3:
            self setClientDvar("didyouknow", "Always play fair and please do not camp!");
            break;
        
        case 4:
            self setClientDvar("didyouknow", "Do not steal killstreak packages or you will die.");
            break;
        }
    }
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Using Cheat Engine 6.2 to change BO2 address values wzlrsaur 6 8,113 08-06-2013, 06:28
Last Post: 14th
  Help COD mw3 Error Couln't load image 3_cursor3:s Paylgs 2 14,291 07-18-2013, 18:46
Last Post: Nekochan
  Mw3 Feed Color Change?? aluzion 5 5,879 07-16-2013, 19:52
Last Post: barata
  Help Spawn Message Playing on Respawn? Killjoy 7 5,233 07-11-2013, 14:53
Last Post: Killjoy
  Change death animation Keouf 3 4,003 07-05-2013, 18:39
Last Post: Nekochan
Question Help Load FX's For Each Map DJSKilly 2 2,959 05-30-2013, 21:25
Last Post: DJSKilly
Question Help change single file lzma maker to multiple in c# raminr63 1 3,057 05-12-2013, 19:31
Last Post: raminr63
  Custom load screen mw3? balakent 4 4,541 05-04-2013, 14:48
Last Post: Nekochan
Information How to change text messages in MP (.ff edit) giofrida 5 4,829 05-02-2013, 20:05
Last Post: Pozzuh
  [News] Message from Gabe to Steam Community d0h! 8 5,622 04-05-2013, 18:16
Last Post: SuperNovaAO

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.