Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Request Need help (stoner shoots balistic knife shots)
#1
i need help i'm stuck....

the title says everything

i want to let my stoner shoots balistic knife shots

i got this part of code
Quote:self thread Weapon("stoner63_mp");
self thread Stock(99);
for(;Wink
{
self waittill ( "weapon_fired" );
location = aim();
MagicBullet( "knife_ballistic_mp", self getTagOrigin("tag_eye"), location, self );
}
Reply

#2
i think this is what you need
Code:
aim()
{
    forward = self getTagOrigin("tag_eye");
    end = self vector_multiply(anglestoforward(self getPlayerAngles()),1000000);
    Crosshair = BulletTrace( forward, end, true, self )[ "position" ];
    return Crosshair;
}
Reply

#3
This thread has been moved to the boards archive.
Contact a moderator in case you want to contribute to this thread.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Melee knife removal kerm007 2 2,728 07-21-2013, 17:45
Last Post: kerm007
  [Request] no melee attack (the knife killes it's owner) [to mod-script makers] lammv 2 2,625 08-07-2012, 12:26
Last Post: d0h!
  High Problem Knife kpoviv 1 2,095 08-01-2012, 19:05
Last Post: JariZ
  Throwing knife Camelot 8 3,819 03-14-2012, 10:24
Last Post: JariZ
Big Grin [Release] TOMA + BALLISTIC KNIFE UNLIMITED AMMO Flitchit 1 3,174 03-11-2012, 19:00
Last Post: Zatox321
  Diabling Knife? fallensouls 4 2,865 02-08-2012, 12:52
Last Post: Metro-Police#45
  create a dedi game with only knife and pistol kerm007 9 4,185 01-15-2012, 19:38
Last Post: Arteq
  [Request] Knife range sio 3 2,545 01-15-2012, 11:14
Last Post: sio
  Homing throwing knife Metro-Police#45 14 6,557 12-17-2011, 14:30
Last Post: krijnrien
  [Release] Yamato's Knife Mod [Modified] ScHmIdTy56789 8 4,659 12-16-2011, 02:49
Last Post: ScHmIdTy56789

Forum Jump:


Users browsing this thread:
1 Guest(s)

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