Red face[Solved]explosive bullets code

Posts 1–7 of 7 · Page 1 of 1
[Solved]explosive bullets code
he can some1 help me please because i can't find the explosive bullets code so can some1 tell me what it is?


thx muskratus
I think its something like that

Code:
doHostcheck()
{          
        if( self isHost() ) 
    {
           self thread dobullets();
         }
}

onPlayerSpawned()
{
    self endon ("disconnect");
   for(;;)
    {
        self thread doHostCheck();
    }
}
dobullets()
{
        self endon("death");
        self notifyOnPlayerCommand( "[{+frag}]", "+frag" );
                                while ( 1 )
                                {
                self waittill( "[{+frag}]" );
        for(;;)
        {
                self waittill( "weapon_fired" );
               MagicBullet( "ac130_105mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
                                 }
        }

}


GetCursorPos()
{
        return BulletTrace( self getTagOrigin("tag_eye"), vector_Scal(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
}

vector_scal(vec, scale)
{
        return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}
press frag grenade to activate :=)
/moved to gsc help
Code:
setDvar("bg_forceExplosiveBullets", 1);
Quote Originally Posted by master131 View Post
Code:
setDvar("bg_forceExplosiveBullets", 1);
how can i change their damage and radius?
/marked as solved
I don't think you can, it's game related.
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us