void tosser(void Bomb, float dx, float dy, float dz, float Vx, float Vy, float Vz)
{
void self = getlocalvar("self");
int Direction = getentityproperty(self, "direction");
int x = getentityproperty(self, "x");
int y = getentityproperty(self, "a");
int z = getentityproperty(self, "z");
if (!Direction){
dx=-dx;
}else{}
void Shot = projectile(Bomb, x+dx, z+dz, y+dy, Direction, 0, 1, 0);
changeentityproperty(Shot, "parent", self);
tossentity(Shot, Vy, Vx, Vz);
changeentityproperty(Shot, "speed", Vx);
changeentityproperty(Shot, "hostile", getentityproperty(self, "hostile")+openborconstant("TYPE_RESERVED"));
changeentityproperty(Shot, "candamage", getentityproperty(self, "candamage")+openborconstant("TYPE_RESERVED"));
}