Inventory system [+REP]
#3

Quote:

new Bat[MAX_PLAYERS];
new Knuckles[MAX_PLAYERS];
new Grenades[MAX_PLAYERS];
new p9mm[MAX_PLAYERS];
new Shotgun[MAX_PLAYERS];
new MP5[MAX_PLAYERS];
new Tec9[MAX_PLAYERS];
new HalfArmour[MAX_PLAYERS];
new RPG[MAX_PLAYERS];
new Knife[MAX_PLAYERS];
new Molotov[MAX_PLAYERS];
new sdPistol[MAX_PLAYERS];
new SawnOffShotgun[MAX_PLAYERS];
new MicroUzi[MAX_PLAYERS];
new M4[MAX_PLAYERS];
new CountryRifle[MAX_PLAYERS];
new FullArmour[MAX_PLAYERS];
new Minigun[MAX_PLAYERS];
new Kantana[MAX_PLAYERS];
new SatchelCharges[MAX_PLAYERS];
new DesertEagle[MAX_PLAYERS];
new CombatShotgun[MAX_PLAYERS];
new AK47[MAX_PLAYERS];
new Sniper[MAX_PLAYERS];
new FlameThrower[MAX_PLAYERS];

What's this? Use a enum to hold player weapons instead, after this its all about logical and basic knowledgement related to pawn scripting.
Reply


Messages In This Thread
Inventory system [+REP] - by TheSperm - 12.04.2015, 17:44
Re: Inventory system [+REP] - by TheSperm - 12.04.2015, 23:29
Re: Inventory system [+REP] - by n0minal - 12.04.2015, 23:41
Re: Inventory system [+REP] - by TheSperm - 13.04.2015, 00:05
Re: Inventory system [+REP] - by SequenceCuz - 13.04.2015, 07:21
Re: Inventory system [+REP] - by TheSperm - 13.04.2015, 15:33
Re : Inventory system [+REP] - by Dutheil - 13.04.2015, 15:47
Re: Re : Inventory system [+REP] - by TheSperm - 13.04.2015, 16:00
Re: Inventory system [+REP] - by SequenceCuz - 14.04.2015, 04:11
Re: Inventory system [+REP] - by TheSperm - 16.04.2015, 21:17

Forum Jump:


Users browsing this thread: 4 Guest(s)