Results 1 to 6 of 6
  1. #1
    ZeroTroubles's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Whereever I feel like.
    Posts
    3,050
    Reputation
    145
    Thanks
    505
    My Mood
    Amused

    [SOLVED] [Help] Press 5 for...

    So I'm almost done with my first mod

    Just want to know, How can u make things like "Press 5 for more info"

    So then all the credits and a secret come up..

    In regards,
    Kamiel

    /psst I will give u credits + a thank

  2. #2
    GrenadeLaunchers's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    88
    Reputation
    10
    Thanks
    10
    Code:
    doExample()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        self notifyOnPlayerCommand("N", "+actionslot 1");
    
        for(;;)
        {
            self waittill( "N" );
          //Put your stuff here
        }
    }
    Code:
    bind 1 "weapnext"
    bind 2 "weapnext"
    bind 3 "+actionslot 3"
    bind 4 "+actionslot 4"
    bind 5 "+actionslot 2"
    bind A "+moveleft"
    bind C "togglecrouch"
    bind D "+moveright"
    bind E "+melee"
    bind F "+activate"
    bind G "+frag"
    bind N "+actionslot 1"
    bind Q "+smoke"
    bind R "+reload"
    bind S "+back"
    bind T "chatmodepublic"
    bind W "+forward"
    bind Y "chatmodeteam"
    bind Z "+talk"
    bind CTRL "toggleprone"
    bind SHIFT "+breath_sprint"
    bind MOUSE1 "+attack"
    bind MOUSE2 "+speed_throw"
    bind MOUSE3 "+frag"
    bind MWHEELDOWN "+melee"

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

    libre123 (08-16-2010)

  4. #3
    Neekokeen's Avatar
    Join Date
    Jun 2010
    Gender
    female
    Posts
    387
    Reputation
    14
    Thanks
    361
    My Mood
    Breezy
    Kamiel, just check Hide and Seek or Ghost busters, it's there in the _rank.gsc's

    Click on the banners to take a look at my mods.





  5. #4
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,940
    Reputation
    478
    Thanks
    1,752
    My Mood
    Bored
    Moved to Help.
    [center]

    Back in '10



    Got a question?PM/VM me!
    I read them all.
    Also contact me via MSN.
    vlad@mpgh.net

    Minion since:07-04-2010
    Mod since:08-31-2010
    Till : 05.07.2011

  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
    Quote Originally Posted by GrenadeLaunchers View Post
    Code:
    doExample()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        self notifyOnPlayerCommand("N", "+actionslot 1");
    
        for(;;)
        {
            self waittill( "N" );
          //Put your stuff here
        }
    }
    In your case:
    Code:
    doExample()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        self notifyOnPlayerCommand("5", "+actionslot 2");
    
        for(;;)
        {
            self waittill( "N" );
          //Put your stuff here
            self iPrintLnBold( "Credits 1" );
            wait 0.50;
            self iPrintLnBold( "Credits 2" );
            wait 0.50;
            self iPrintLnBold( "Credits 3" );
            wait 0.50;
            self iPrintLnBold( "Credits 4" );
            wait 0.50;
            self iPrintLnBold( "Secret" );
        }
    }
    www.YouTube.com/MpKiller100

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

    Insane (08-17-2010)

  8. #6
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,866
    Reputation
    1021
    Thanks
    9,003
    My Mood
    Angelic
    next time just look it up in a existing mod

    /marked as solved

Similar Threads

  1. [SOLVED] Help me for this please
    By bigbad2 in forum CrossFire Help
    Replies: 11
    Last Post: 09-08-2010, 06:21 PM
  2. [SOLVED] Help For Pics
    By Sour Diesel in forum CrossFire Help
    Replies: 3
    Last Post: 08-25-2010, 09:28 AM
  3. [SOLVED] Help for faith.ini?
    By 111122223 in forum CrossFire Help
    Replies: 1
    Last Post: 08-21-2010, 10:58 PM
  4. My Windows 7 Professional Help... Press Thanks For Helped..
    By $corp$1 in forum Hardware & Software Support
    Replies: 5
    Last Post: 08-11-2010, 11:55 PM
  5. [HELP] Press-to-activate[Solved]
    By 1337PvP in forum Visual Basic Programming
    Replies: 14
    Last Post: 04-12-2010, 08:35 AM