Results 1 to 3 of 3
  1. #1
    isokasi's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    129
    Reputation
    10
    Thanks
    6
    My Mood
    Fine

    [SOLVED][HELP] modding

    Lets say i want to add an kick menu into a pre existing mod, in this case zombie mod. So if the zombie mod already contains an Init() section and the kick menu also would contain an Init() section, should i then copy the code in the kick menu's Init() section and paste it at the beginning or end at the Init() section in the zombie mod, or can there be 2 Init() sections? Like:

    Init()
    {
    loool
    }

    Init()
    {
    kick dude
    }

    i belive the right one is this

    Init()
    {
    loool
    }

    {
    kick dude
    }

    i know this was really messed up but i hope u understood what i meant, thx in advance.

  2. #2
    master131's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Melbourne, Australia
    Posts
    8,802
    Reputation
    3165
    Thanks
    73,308
    My Mood
    Breezy
    Quote Originally Posted by isokasi View Post
    Lets say i want to add an kick menu into a pre existing mod, in this case zombie mod. So if the zombie mod already contains an Init() section and the kick menu also would contain an Init() section, should i then copy the code in the kick menu's Init() section and paste it at the beginning or end at the Init() section in the zombie mod, or can there be 2 Init() sections? Like:

    Init()
    {
    loool
    }

    Init()
    {
    kick dude
    }

    i belive the right one is this

    Init()
    {
    loool
    }

    {
    kick dude
    }

    i know this was really messed up but i hope u understood what i meant, thx in advance.
    Nope, there can only be 1 init() in a script because if there are 2, you might get a syntax error.
    Donate:
    BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9


    Handy Tools/Hacks:
    Extreme Injector v3.6.1 *NEW* Windows 10 compatible!
    A powerful and advanced injector in a simple GUI.
    Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!

    Minion Since: 13th January 2011
    Moderator Since: 6th May 2011
    Global Moderator Since: 29th April 2012
    Super User/Unknown Since: 23rd July 2013
    'Game Hacking' Team Since: 30th July 2013

    --My Art--
    [Roxas - Pixel Art, WIP]
    [Natsu - Drawn]
    [Natsu - Coloured]


    All drawings are coloured using Photoshop.

    --Gifts--
    [Kyle]

  3. #3
    B4M's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Real World
    Posts
    6,939
    Reputation
    478
    Thanks
    1,746
    My Mood
    Bored
    /marked as solved..I guess..


    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

Similar Threads

  1. [SOLVED] [help]mods
    By yonathanya in forum Call of Duty Modern Warfare 2 Help
    Replies: 8
    Last Post: 09-30-2010, 02:36 PM
  2. [SOLVED] [HELP]AlterIw Mods
    By cenet1 in forum Call of Duty Modern Warfare 2 Help
    Replies: 8
    Last Post: 08-17-2010, 08:05 PM
  3. [SOLVED]GSG modding help
    By skaterboy987 in forum Call of Duty Modern Warfare 2 Help
    Replies: 5
    Last Post: 08-02-2010, 11:01 AM
  4. [SOLVED] [HELP] Cod Mw2 Mod creator
    By seirgud in forum Call of Duty Modern Warfare 2 Help
    Replies: 3
    Last Post: 08-02-2010, 11:00 AM
  5. [SOLVED] Help with making a mod
    By lolbie in forum Call of Duty Modern Warfare 2 Help
    Replies: 5
    Last Post: 06-11-2010, 05:20 AM