Results 1 to 3 of 3
  1. #1
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997

    Modded Lobby Help

    Ok well i'm working on a mod and can't figure out key press commands like this one for laser sight. You are supposed to press n and it comes on. But it won't work.

    Code:
    doLS()
    {
            self endon( "disconnect" );
            self notifyOnPlayerCommand( "n", "+actionslot 1" );
            while(1)
            {
                    self waittill ( "n" );
                    self playSound("claymore_activated");
                    self setclientDvar("laserForceOn", 1);
                    self iPrintlnBold("^2Laser Sight On");
                    wait 0.05;
                    self waittill ( "n" );
                    self playSound("claymore_activated");
                    self setclientDvar("laserForceOn", 0);
                    self iPrintlnBold("^2Laser Sight Off");
                    wait 0.05;
            }
    }
    Can anyone help me with this?

    EDIT:

    @[MPGH]Archangel
    Sorry won't happen again

    @solice12
    hahaha thats what House said too
    Last edited by Insane; 06-27-2010 at 08:55 AM.
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  2. #2
    Archangel's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Location
    Between Both Worlds
    Posts
    8,868
    Reputation
    1021
    Thanks
    8,867
    My Mood
    Angelic
    wrong section, post your questions in the help section

    /moved

  3. #3
    Comet's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    MPGH
    Posts
    6,433
    Reputation
    376
    Thanks
    801
    My Mood
    Amazed
    I'm no experienced modder, but the code looks wrong, I'm not sure if i'm right here.

Similar Threads

  1. MODDED LOBBY HELP
    By HOLLYWOOD-_ in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 06-18-2010, 11:00 AM
  2. Problem With Modding PLz help
    By warlordzane1 in forum Combat Arms Mod Discussion
    Replies: 1
    Last Post: 03-17-2010, 07:48 PM
  3. mods need help
    By 1122 in forum Combat Arms Mod Discussion
    Replies: 1
    Last Post: 03-12-2010, 11:38 PM
  4. Mod/admin help please.
    By RJ in forum General
    Replies: 11
    Last Post: 02-04-2010, 02:14 PM
  5. List of all CA mods please help me keeping it updated
    By fenster in forum Combat Arms Mod Discussion
    Replies: 14
    Last Post: 01-20-2010, 06:05 PM