Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial inf ammo // hp bar // show pos
#1
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" ); 
Reply

#2
LOL Debug health bar
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#3
tnx for sharing, what does this hp bar looks like?

--
Reply

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

TerribleConfused
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#5
screen pls Smile
Reply

#6
(01-18-2011, 17:04)d0h! Wrote: screen pls Smile
Just a black rectangle

[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] CS addon for MW2(Sounds,show damage) Fl0w_.JACKDAN 1 4,690 09-29-2013, 19:46
Last Post: Nekochan
  [Request] no ammo for infected gamemode ExoGamer* 8 5,548 08-15-2013, 18:59
Last Post: Dr3am95
  [News] Show your wallpaper. Nekochan 6 4,688 07-10-2013, 19:02
Last Post: House
  M320 and GP25 ammo McKinleySPB 3 3,077 07-06-2013, 12:56
Last Post: archit
Smile [Release] Unlimited ammo v2.3 & @Nukems unlammo hillbilly 40 24,008 06-26-2013, 11:33
Last Post: X-Track
Rainbow [News] Show your awesome mobile device. Nekochan 34 13,994 05-29-2013, 14:59
Last Post: Arteq
Question can't find it (ammo box) DJSKilly 8 5,265 05-29-2013, 11:27
Last Post: Dr3am95
Rainbow [News] Show your awesome face Arteq 2 2,778 05-23-2013, 06:11
Last Post: OrangePL
Rainbow Show your mobile device's wallpaper Nekochan 23 11,990 04-05-2013, 18:12
Last Post: SuperNovaAO
  Show your awesome wallpaper V2 JariZ 81 41,049 04-05-2013, 18:10
Last Post: SuperNovaAO

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.