Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Can someone try this?
#1
I need someone that test it, because I cant atm and @Rendflex and @Pozzuh dont want, Undecided . Just throw a throwing knife on rundown

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;
            }
        }
    }
}
Reply

#2
I'll try it in a few minutes/seconds...

Edit: Didn't work for me, someone else should try.
Reply

#3
offtopic:
use chainsaw model, lol. ( Throwable Chainsaw Troll )
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#4
http://pastebin.com/ceMq31rz

Try this instead if you test
Reply

#5
anyone?
Reply

#6
I will

syntax error i will fix wait
found: neworigin = tomahawk.origin
Code works, model - no Sad
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.