Results 1 to 3 of 3

Threaded View

  1. #1
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,057
    Reputation
    1007
    Thanks
    2,013

    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 07:55 AM.

    Ex Middleman

Similar Threads

  1. MODDED LOBBY HELP
    By HOLLYWOOD-_ in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 06-18-2010, 10:00 AM
  2. Problem With Modding PLz help
    By warlordzane1 in forum Combat Arms Mod Discussion
    Replies: 1
    Last Post: 03-17-2010, 06:48 PM
  3. mods need help
    By 1122 in forum Combat Arms Mod Discussion
    Replies: 1
    Last Post: 03-12-2010, 10:38 PM
  4. Mod/admin help please.
    By RJ in forum General
    Replies: 11
    Last Post: 02-04-2010, 01: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, 05:05 PM