ItsMods

Full Version: inf ammo // hp bar // show pos
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
PHP Code:
devgui_unlimited_ammo()
{
    
self notify"devgui_unlimited_ammo" );
    
self endon"devgui_unlimited_ammo" );
    
self endon"disconnect" );

    for ( ;; )
    {
        
wait0.1 );

        
weapons = [];
        
weapons[0] = self GetCurrentWeapon();
        
weapons[1] = self GetCurrentOffhand();
        
        for ( 
0weapons.sizei++ )
        {
            if ( 
weapons[i] == "none" )
                continue;
            
            
self GiveMaxAmmoweapons[i] );
        }
    }


PHP Code:
devgui_health_debug()
{
    
self notify"devgui_health_debug" );
    
self endon"devgui_health_debug" );
    
self endon"disconnect" );
    
    
80;
    
40;

    
self.debug_health_bar NewClientHudElemself );
    
self.debug_health_bar.80;
    
self.debug_health_bar.2;
    
self.debug_health_bar.alignX "left";
    
self.debug_health_bar.alignY "top";
    
self.debug_health_bar.horzAlign "fullscreen";
    
self.debug_health_bar.vertAlign "fullscreen";
    
self.debug_health_bar.alpha 1;
    
self.debug_health_bar.foreground 1;
    
self.debug_health_bar setshader"black"1);

    
self.debug_health_text NewClientHudElemself );
    
self.debug_health_text.80;
    
self.debug_health_text.y;
    
self.debug_health_text.alignX "left";
    
self.debug_health_text.alignY "top";
    
self.debug_health_text.horzAlign "fullscreen";
    
self.debug_health_text.vertAlign "fullscreen";
    
self.debug_health_text.alpha 1;
    
self.debug_health_text.fontScale 1;
    
self.debug_health_text.foreground 1;
    
    for ( ;; )
    {
        
wait 0.05 );

        
width self.health self.maxhealth 300;
        
width intmaxwidth) );
        
self.debug_health_bar setShader"black"width);

        
self.debug_health_text SetValueself.health );
    }


PHP Code:
SetDvar"debug_show_viewpos""0" ); 
LOL Debug health bar
tnx for sharing, what does this hp bar looks like?

(01-18-2011, 14:45)Eekhoorn Wrote: [ -> ]tnx for sharing, what does this hp bar looks like?

TerribleConfused
screen pls Smile
(01-18-2011, 17:04)d0h! Wrote: [ -> ]screen pls Smile
Just a black rectangle