Results 1 to 3 of 3
  1. #1
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,540
    My Mood
    Angelic

    Include arrays that is not in the thread

    Well, my friend is having a problem.

    Well, he is making an buy menu with arrays (As the buy item)

    Now he have a problem with adding the 82 arrays into each thread. (he have 4 threads that is usning the arrays)


    So instead of adding all the arrays 4 times (For each thread)


    Can he make an thread that will be used for all the buy threads. (That use the arrays.)


    Example:
    Arrays()
    {
    array = [];

    array[0] = "ak47_mp";
    array[1] = "fal_mp";
    array[2] = "masada_mp";
    }
    And an thread that will use the arrays:
    WeaponGive()
    {
    self giveweapon(array[2]);
    self switchtoweapon(array[2]);
    }


    Clear:

    How to include arrays that is not in the same thread as they are used in.


    READ:
    This is not used in the _rank.gsc
    So he can't add it to the init()
    [The thread]
    Last edited by Jorndel; 07-01-2011 at 06:40 PM. Reason: READ!

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,540
    My Mood
    Angelic
    @Alex
    /Solved & Remove/Delete this thread.
    Thanks

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  3. #3
    Skyline.'s Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    10,160
    Reputation
    403
    Thanks
    1,613
    .solved
    .closed