02.08.2009, 22:45
Or very fast xD
init
Код:
#define MAX_HEALTH YOUR_NUMBER_OF_PICKUPS new HealthPick[MAX_HEALTH]; new Float:PickupCoords[MAX_HEALTH][3] = { {X,Y,Z}, {}, {}, {}, {}, {} };
Код:
for(new i; i < MAX_HEALTH; i++) { HealthPick[i] = CreatePickup(ID, Type, PickupCoords[i][0], PickupCoords[i][1], PickupCoords[i][2]); }