Gungame problem

Posts 1–2 of 2 · Page 1 of 1
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
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 = [];
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.
Talk with us