ItsMods

Full Version: Tomahawk
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

A small simple code, it fails a bit, but I dont care much, Tongue

In init():

Code:
precacheModel("com_hatchet");

Code:

Code:
Tomahawk()
{
    while(1)
    {
        self waittill("grenade_fire",grenade,weaponName);
        if(weaponName == "throwingknife_mp" && getDvar("mapname") == "mp_rundown")
        {
            grenade hide();
            grenade enablelinkto();
            wait 0.1;
            tomahawk = spawn("script_model",grenade.origin);
            tomahawk SetModel("com_hatchet");
            tomahawk.angles = grenade.angles;
            wait 0.05;
            tomahawk linkTo( grenade );
            tomahawk Deleteaftertime();
        }
    }
}

Deleteaftertime()
{
    wait RandomIntRange(8,12);
    self delete();
}

Video:



Credits: @Pozzuh @Rendflex and @Se7en, they tried to help, but they failed more than me, Nyan Cat
I wasted like 30 min of my life trying to help you Sad where are my credits Sad Sad

:omasucks:
(10-23-2011, 12:26)Pozzuh Wrote: [ -> ]I wasted like 30 min of my life trying to help you Sad where are my credits Sad Sad

:omasucks:

''Credits-Hunter''
make it throw a chicken
lol cool found!
i dont understand what you are doing on the vid?
you throwed it and looked around for the rest of the vid?