Results 1 to 7 of 7
  1. #1
    oktane's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    14
    My Mood
    Happy

    [Question] Laser sight, brightness and night vision

    Well, I have a question, it's possible to have on the same actionslot two functions, like toggle the nightvision and toggle the laser sight.

    If it's possible could you pass me the code of the laser sight, I search on the web and i didn't found anything

    And the last question (Maybe I can be boring), can you passme the code of change brightness to copy on my _rank.gsc, I'm planning something interestiting on my mod.

    Thanks and regards from Spain

    Jose Manuel, alias Oktane.
    Last edited by oktane; 06-26-2011 at 02:58 PM.


    Xfire:jmgpsp

  2. #2
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    laser sight code

    Code:
    setDvar("laserForceOn", "1");
    and the brightness but not 100% sure
    Code:
    player setClientDvar( "r_blur", 0 );
    player setClientDvar( "r_brightness", 0 );
    Last edited by pyrozombie; 06-26-2011 at 03:17 PM.
    press thanks if i helped you.

    steam: pyro1012 (in game name is Undutchable)

    todo list:
    100 posts :
    250 posts :
    500 posts :
    750 posts :
    1000 posts :
    get 100 thanks :
    create a modd :
    create a camo :
    create a program :

  3. #3
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    154
    My Mood
    Amazed
    Here is all what you are looking for,

    https://www.mpgh.net/forum/323-call-d...-mod-base.html

  4. #4
    Moto's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    Bay Area, CA
    Posts
    13,055
    Reputation
    707
    Thanks
    14,558
    My Mood
    Blah
    /solved .



  5. #5
    oktane's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    14
    My Mood
    Happy
    Thanks to all, rep for u ^^


    Xfire:jmgpsp

  6. #6
    pyrozombie's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    holland
    Posts
    351
    Reputation
    12
    Thanks
    62
    My Mood
    Cool
    @oktane

    remove website link in your signeture if the moderators see it you can be banned
    press thanks if i helped you.

    steam: pyro1012 (in game name is Undutchable)

    todo list:
    100 posts :
    250 posts :
    500 posts :
    750 posts :
    1000 posts :
    get 100 thanks :
    create a modd :
    create a camo :
    create a program :

  7. #7
    oktane's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    14
    My Mood
    Happy
    ups, I forget it, but it's an abandooned web at the moment,thanks mate ^^


    Xfire:jmgpsp