Originally Posted by
ProDiiGy
There's a dvar for oma prro somewhere.. something like scr_explosives, can't remember i'll look for it later.
He's talking about unlimited offhand weapons lol
Code:
doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
Probaly would work
Thread it like this:
Code:
if( self isHost() )
{
self thread doAmmo();
}