ObiectTreasure = CreatePickup(random(sizeof(randobj)), 21, gRandomPositions[rand][0], gRandomPositions[rand][1], gRandomPositions[rand][2]);