Post: SpecNading by Chuiby aka LouisTakePILLz
03-17-2011, 03:51 AM #1
Demmonnixx
Vault dweller
(adsbygoogle = window.adsbygoogle || []).push({}); Saw some people interested, so I thought I would share it here;

I take no credit at all, all credits to the creator listed in Subject line

Works with: Frag,Smoke,Stun,Flash, Best with Smoke IMO



    doGerAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );
self iPrintLnBold("^2Now Select SpecNader");
for(;Winky Winky
{
weapname = self GetCurrentOffhand();
if(weapname=="concussion_grenade_mp"||weapname=="frag_grenade_mp"||weapname=="flash_grenade_mp"||weapname=="smoke_grenade_mp")
{
self setWeaponAmmoClip( weapname, 9999 );
self GiveMaxAmmo( weapname );
}
wait 0.05;
}
}


specNading()
{
self endon( "disconnect" );
self endon( "death" );
self iPrintLnBold("^2SpecNader Selected");
for(;Winky Winky
{
self waittill( "grenade_fire", grenadeWeapon, weapname );
if(weapname=="concussion_grenade_mp"||weapname=="frag_grenade_mp"||weapname=="flash_grenade_mp"||weapname=="smoke_grenade_mp")
{
self _disableWeapon();
self _disableOffhandWeapons();
self freezeControls(true);
origmh = self.maxhealth;
self.maxhealth = 999999999;
self.health = self.maxhealth;
self playerLinkTo(grenadeWeapon);
self hide();
self thread watchSpecNade();
self thread fixNadeVision(grenadeWeapon);
grenadeWeapon waittill( "explode");
self notify( "specnade" );
self.maxhealth = origmh;
self.health = self.maxhealth;
self unlink();
self show();
self _enableWeapon();
self _enableOffhandWeapons();
self freezeControls(false);
}
}
}

fixNadeVision(grenade)
{
self endon( "specnade" );
self endon( "death" );
for(;Winky Winky
{
self setPlayerAngles(VectorToAngles(grenade.origin - self.origin));
wait .01;
}
}

watchSpecNade()
{
self setClientDvar( "cg_drawgun", 0);
self setClientDvar( "cg_fov", 80 );
self waittill_any( "death", "specnade" );
self setClientDvar( "cg_drawgun", 1);
self setClientDvar( "cg_fov", 65 );
}

switchToGun( weap )
{
self endon( "death" );
self notify( "switchToGun" );
self endon( "switchToGun" );
while( self getCurrentWeapon() != weap )
{
self switchToWeapon( weap );
wait .4;
}
}


Then just call them from one of you menus or self thread them under PlayerSpawned (doGerAmmo and specNading)

AGAIN, I take no credit at all, all credit goes to Chuiby @S7. Thank you for sharing this code bro!

You can check it out in action in the link in my sig space
(adsbygoogle = window.adsbygoogle || []).push({});

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

Blackstorm, emsp, Mr cake man
03-19-2011, 12:10 PM #11
Niceeeeee !!!
03-19-2011, 04:18 PM #12
Demmonnixx
Vault dweller
Originally posted by xMerkii View Post
That made no sense why did you quote me I was asking what the code does any you asked me who made it :LOLWTFBBQ:


Don't know how that happened...lol The site kept giving me an error when trying to post. My bad that was suppose to be someone I was quoting

But to answer your question it allows you to basically become the grenade.... Pretty cool to me.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo