30.07.2010, 11:17
Id guess your array with the Coords is multi-dimensional, something like this:
new Float: pickups[][3]
Then you can create your pickups using a for-loop and using the counter as index for your array:
new Float: pickups[][3]
Then you can create your pickups using a for-loop and using the counter as index for your array:
pawn Код:
for(new i = 0; i < sizeof(pickups); i ++) {
CreatePickup(..., pickups[i][0], pickups[i][1], pickups[i][2]); //with 0,1,2 beeing x,y,z
}