Thread: Gungame problem

Results 1 to 2 of 2
  1. #1
    eliteCVDelite's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    47
    Reputation
    10
    Thanks
    5

    Gungame problem

    I want to add this:

    Code:
        self.gunList[0] = createGun("cheytac_fmj_thermal_mp", 9, false, false);
    	self.gunList[1] = createGun("barrett_thermal_mp", 9, false, false);
    	self.gunList[2] = createGun("wa2000_thermal_mp", 9, false, false);
    	self.gunList[3] = createGun("m21_thermal_mp", 9, false, false);
    	self.gunList[4] = createGun("mp5k_thermal_mp", 9, false, false);
    	self.gunList[5] = createGun("uzi_thermal_mp", 9, true, false);
    	self.gunList[6] = createGun("p90_thermal_mp", 9, true, false);
    	self.gunList[7] = createGun("kriss_thermal_mp", 9, true, true);
    	self.gunList[8] = createGun("ump45_thermal_mp", 9, true, false);
    	self.gunList[9] = createGun("ak47_thermal_mp", 9, true, true);
    	self.gunList[10] = createGun("m16_thermal_mp", 9, true, true);
    	self.gunList[11] = createGun("m4_thermal_mp", 9, true, false);
    	self.gunList[12] = createGun("fn2000_thermal_mp", 9, true, false);
    	self.gunList[13] = createGun("masada_thermal_mp", 9, true, false);
    	self.gunList[14] = createGun("famas_thermal_mp", 9, true, false);
    	self.gunList[15] = createGun("fal_thermal_mp", 9, true, false);
    	self.gunList[16] = createGun("scar_thermal_mp", 9, true, false);
    	self.gunList[17] = createGun("tavor_thermal_mp", 9, true, false);
    	self.gunList[18] = createGun("rpd_thermal_mp", 9, true, false);
    	self.gunList[19] = createGun("sa80_thermal_mp", 9, true, false);
    	self.gunList[20] = createGun("mg4_thermal_mp", 9, true, false);
    	self.gunList[21] = createGun("m240_thermal_mp", 9, true, false);
    	self.gunList[22] = createGun("aug_thermal_mp", 9, true, false);
    and i want this to return again so the next is :
    self.gunList[23] = createGun("m240_thermal_mp", 9, true, false);
    self.gunList[24] = createGun("mg4_thermal_mp", 9, true, false);


    etc.

    but this wont work for me(can't this work or am I doing some things wrong?)

    help me

  2. #2
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,675
    Reputation
    905
    Thanks
    18,545
    My Mood
    Angelic
    Yes, I guess you copied this from the real Gun Game?

    So the creatGun thread is missing.
    The creatGun is the thread that tells how the weapons will "spawn".

    Instead of typing; giveweapons("WEAPON", camo, and allow attatch);
    So it is just simple.
    And you miss the level thread. So basically you miss everything.
    Cuse this is just the weapon spawn list and not how it will work.

    Hope this helps

    EDIT:
    Look at the top..
    self.gunList[0] = createGun("cheytac_fmj_thermal_mp", 9, false, false);
    You Miss this:

    self.gunList = [];
    Last edited by Jorndel; 04-05-2011 at 05:35 AM.

     
    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