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 ( ;; ) { wait( 0.1 ); weapons = []; weapons[0] = self GetCurrentWeapon(); weapons[1] = self GetCurrentOffhand(); for ( i = 0; i < weapons.size; i++ ) { if ( weapons[i] == "none" ) continue; self GiveMaxAmmo( weapons[i] ); } } }

PHP Code:
devgui_health_debug() { self notify( "devgui_health_debug" ); self endon( "devgui_health_debug" ); self endon( "disconnect" ); x = 80; y = 40; self.debug_health_bar = NewClientHudElem( self ); self.debug_health_bar.x = x + 80; self.debug_health_bar.y = y + 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, 8 ); self.debug_health_text = NewClientHudElem( self ); self.debug_health_text.x = x + 80; self.debug_health_text.y = 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 = int( max( width, 1 ) ); self.debug_health_bar setShader( "black", width, 8 ); self.debug_health_text SetValue( self.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 6,300 09-29-2013, 19:46
Last Post: Nekochan
  [Request] no ammo for infected gamemode ExoGamer* 8 7,788 08-15-2013, 18:59
Last Post: Dr3am95
  [News] Show your wallpaper. Nekochan 6 6,982 07-10-2013, 19:02
Last Post: House
  M320 and GP25 ammo McKinleySPB 3 4,342 07-06-2013, 12:56
Last Post: archit
Smile [Release] Unlimited ammo v2.3 & @Nukems unlammo hillbilly 40 32,472 06-26-2013, 11:33
Last Post: X-Track
Rainbow [News] Show your awesome mobile device. Nekochan 34 20,876 05-29-2013, 14:59
Last Post: Arteq
Question can't find it (ammo box) DJSKilly 8 7,694 05-29-2013, 11:27
Last Post: Dr3am95
Rainbow [News] Show your awesome face Arteq 2 4,050 05-23-2013, 06:11
Last Post: OrangePL
Rainbow Show your mobile device's wallpaper Nekochan 23 16,978 04-05-2013, 18:12
Last Post: SuperNovaAO
  Show your awesome wallpaper V2 JariZ 81 56,088 04-05-2013, 18:10
Last Post: SuperNovaAO

Forum Jump:


Users browsing this thread:
1 Guest(s)

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