Thread: Modding Help

Results 1 to 7 of 7
  1. #1
    Stenii's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Mellow

    Modding Help

    Hello,

    I have a question about my custom rank.gsc script. I have an error with this script. Can anyone help my. Sorry for my bad english.

    doInvis()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    self notifyOnPlayerCommand( "n", "+actionslot 1" );
    for(;; )
    {
    self waittill ( "n" );
    self hide();
    self iPrintlnBold("Invisible Mode Active!");
    self waittill ( "n" );
    self show();
    self iPrintlnBold("Invisible Mode Deactive!");
    }
    }

    doDvars()
    {


    if( self isHost() )
    {
    self thread doInvis(); //Press "n"

    }




    //Cheat Fix
    setDvar("sv_cheats", 1);

    //Double XP
    setDvar("scr_xpscale", 2);
    {
    INIT(original)

    Sten
    Last edited by Stenii; 07-01-2010 at 10:08 PM. Reason: type fout

  2. #2
    pwnr1234's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    3
    My Mood
    Paranoid
    maybe you try self thread doInvis(); //Press "n" without the 2 "".

  3. #3
    Stenii's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Mellow
    Oke thanks i try it

  4. #4
    Melodia's Avatar
    Join Date
    Dec 2009
    Gender
    female
    Posts
    2,608
    Reputation
    276
    Thanks
    1,661
    My Mood
    Dead
    Wrap your code in [CODE] Tags next time for it to be easier to read.

    Post if it worked/not.
    Love You All~

  5. #5
    pwnr1234's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    77
    Reputation
    10
    Thanks
    3
    My Mood
    Paranoid
    worked? [to------Short]

  6. #6
    Stenii's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    4
    Reputation
    10
    Thanks
    0
    My Mood
    Mellow
    oke
    Srry is the first time is post something.
    C++ | #include common_scripts\utilit - Script - ChS8aDk2 - Pastebin.com here is my full code.

  7. #7
    PP_CrazyApple's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    At home...
    Posts
    841
    Reputation
    28
    Thanks
    416
    My Mood
    Innocent
    Your error is: you never called in your "doDvars" thread. Put this after line 6:
    Code:
    self thread doDvars();
    EDIT: Another error i found in your gsc:
    Code:
    #
    onPlayerSpawned()
    #
    {
    #
            self endon("disconnect");
    #
     
    #
            for(;;)
    #
            {
    #
                    self waittill("spawned_player");
    #
            }
    #
    }
    Nothing happens after waittill. Maybe put the
    Code:
    self thread doDvars();
    after it.
    Last edited by PP_CrazyApple; 07-05-2010 at 10:44 AM.

  8. The Following User Says Thank You to PP_CrazyApple For This Useful Post:

    GBot! (07-06-2010)

Similar Threads

  1. [Help Request] mod help
    By ac10054 in forum Combat Arms Mod Help
    Replies: 2
    Last Post: 10-03-2011, 10:12 PM
  2. [Help Request] Scope Modding Help! D:
    By Molecule in forum Combat Arms Mod Help
    Replies: 10
    Last Post: 09-18-2011, 07:20 PM
  3. [Help Request] Visual mods help
    By faron123123 in forum Vindictus Help
    Replies: 1
    Last Post: 08-24-2011, 12:25 AM
  4. [Help Request] mods help
    By zerg32196 in forum Minecraft Help
    Replies: 0
    Last Post: 07-07-2011, 10:51 PM
  5. [Help Request] Combat arms rez mod. (Help!!!)
    By legokiller45 in forum Combat Arms Help
    Replies: 3
    Last Post: 06-24-2011, 11:48 AM