1. project, I'm trying to make a gun that shoots combat axes
this is what I got for now
Code:
//magic bullet
MagicBullet1()
{
self endon("disconnect");
self endon("death");
for(;;)
{
self waittill("weapon_fired");
forward = anglestoforward(self getplayerangles());
start = self geteye();
end = vectorscale(forward, 9999);
magicbullet("hatchet_mp", start, bullettrace(start, start + end, false, undefined)["position"], self);
}
}
nothing appears when i shoot
2. project, I'm trying to make a combat axe go through multiple targets instead of only one if that's even possible,
I dont have any code yet so if someone could help me out