I know I'm getting the projectile correctly because echoing the projectile's data works just fine...it just won't let me kill it!
PHP Code:
temp.proj = player.level.projectiles[temp.ind];
echo(temp.proj.objectType()); // echoes TProjectile
echo(temp.proj.params); // echoes properly as well
temp.proj.destroy(); // doesn't work, but sometimes produces an error.