ItsMods

Full Version: Need help (stoner shoots balistic knife shots)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 );
}
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;
}
This thread has been moved to the boards archive.
Contact a moderator in case you want to contribute to this thread.