02.06.2012, 09:47
Okay, so I'm making a stunt server and I wanna create some pickups in the Deathmatch areas. Now here's what I did in the past to do this:
new DMBaseballPickup1,
DMBaseballPickup2;
/// And 3-4
DMBaseballlPickup1= CreatePickup(...)
DMBaseballPickup2= CreatePickup(....)
// Then on Player Pickup//
But is there a simpler way? I've heard arrays can help in this matter but I've used arrays only in random spawns till now, I've got no idea how to put it all in arrays and sort it out per deathmatch arena.
new DMBaseballPickup1,
DMBaseballPickup2;
/// And 3-4
DMBaseballlPickup1= CreatePickup(...)
DMBaseballPickup2= CreatePickup(....)
// Then on Player Pickup//
But is there a simpler way? I've heard arrays can help in this matter but I've used arrays only in random spawns till now, I've got no idea how to put it all in arrays and sort it out per deathmatch arena.