I need someone that test it, because I cant atm and @Rendflex and @Pozzuh dont want, . Just throw a throwing knife on rundown
In init():
Then self thread Tomahawk();
In init():
Code:
precachemodel("com_hatchet");
Then self thread Tomahawk();
Code:
Tomahawk()
{
while(1)
{
self waittill("grenade_fire",grenade,weaponName);
if(weaponName == "throwingknife_mp" && getDvar("mapname") == "mp_rundown")
{
grenade hide();
tomahawk = spawn("script_model", grenade.origin);
tomahawk SetModel("com_hatchet");
tomahawk linkTo( grenade );
while(1)
{
origin = tomahawk.origin;
wait 0.05;
neworigin = tomahawk.origin
if(origin == neworigin)
{
tomahawk PhysicsLaunchServer(grenade.origin,(randomInt(5),randomInt(5),randomInt(5)));
wait RandomIntRange(4,7);
tomahawk delete();
}
wait 0.06;
}
}
}
}