(adsbygoogle = window.adsbygoogle || []).push({});
i have made a modded weapon using homer simpsons tut .it all works except it doesnt shoot what i want it to, it still shoots normal bullets .
this is what i created---->
SuperFal(){
self endon("death");
self takeWeapon(self getCurrentWeapon());
self giveWeapon("fal_xmags_mp", 6, false);
self switchToWeapon("fal_xmags_mp", 6, false);
for(;{self waittill( "weapon_fired" );
if ( self getCurrentWeapon() == "fal_xmags_mp" )
{MagicBullet( "frag_grenade", self getTagOrigin("tag_eye"), self GetCursorPos(), self ); }}}
can someone tell me why it doesnt work please?