Introducing MPGH's AIGA. The latest advancement in artificial intelligence. Click here now to learn more!
Results 1 to 3 of 3
  1. #1
    dv9unknown's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0

    [Help] Combining two codes.

    Can anyone tell me how I can add

    self notify("menuresponse", game["menu_team"], "autoassign");

    to a full mod

    C++ | #include common_scripts\utilit - Anonymous - P78MCyTR - Pastebin.com

    it is Josephlittle Quick Scope mod.

    https://www.mpgh.net/forum/308-call-d...scope-mod.html

    People keep joining and making the teams uneven so I was hoping that i could add that code the the whole mod or find a better code

  2. #2
    CainFool's Avatar
    Join Date
    Oct 2009
    Gender
    male
    Posts
    313
    Reputation
    11
    Thanks
    146
    My Mood
    Angelic
    Make it a thread and add it under playeronspawned();

    So...
    teamsort();
    {
    self notify("menuresponse", game["menu_team"], "autoassign");
    }

    and on "onplayerspawned();"
    add under it
    self thread teamsort();

  3. #3
    House's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Posts
    2,990
    Reputation
    223
    Thanks
    9,296
    My Mood
    Cynical
    /Moved to Help

Similar Threads

  1. [Help Request] need help with injecting code/using it
    By 0xx-kyle-xx0 in forum Combat Arms Help
    Replies: 1
    Last Post: 06-17-2018, 12:02 PM
  2. [Help Request] How to combine two .rez file?
    By 48Aces in forum Combat Arms Mod Help
    Replies: 12
    Last Post: 10-03-2011, 09:37 PM
  3. need help with teleport code
    By konni in forum WarRock - International Hacks
    Replies: 0
    Last Post: 07-29-2007, 11:07 PM
  4. need help plz vb6 codeing fast registration
    By cjg333 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 07-05-2007, 06:38 AM
  5. NEED help with verification code when registering!
    By vinogradov in forum WarRock Korea Hacks
    Replies: 2
    Last Post: 05-30-2007, 07:20 PM