Post: [Code] Explosive Bullet
05-19-2011, 02:57 PM #1
Dreamcather
Call me Eddie Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({}); I have not seen it on waw but here is it... Have fun.
     
doSuperGun(){
self endon ( "death" );
for(;Winky Winky
{
self waittill ( "weapon_fired" );
forward = self getTagOrigin("j_head");
end = self thread vector_scal(anglestoforward(self getPlayerAngles()),1000000);
SPLOSIONlocation = BulletTrace( forward, end, 0, self )[ "position" ];
playfx(loadfx("explosions/default_explosion"), SPLOSIONlocation);
RadiusDamage( SPLOSIONlocation, 300, 600, 200, self );
}
}
vector_scal(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Dreamcather for this useful post:

Karoolus, Mr.Azoz, TheCodKittenz
06-01-2011, 09:43 PM #11
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by abmbc View Post
cool...do u no the code for normal bullets?


go look in a clean weapons.gsc and you will find it in there

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo