Raised This Month: $ Target: $400
 0% 

Noob coder (Check inside) [Solved!... sorta]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Davidos
Senior Member
Join Date: Feb 2005
Old 02-16-2007 , 16:08   Re: Noob coder (Check inside)
Reply With Quote #3

Quote:
Originally Posted by [ --<-@ ] Black Rose View Post
This will work with slap/heal because you only called the last one on damage and this new one is called on health hud change.

You can't do black.

Shell size is probably smaller.
Code:
#include <amxmodx> #include <fun> public plugin_init() {     register_plugin("Glow by Health", "1.0", "Davidos")     register_event("Health", "event_Health", "be") } public event_Health(id) {     switch ( read_data(1) ) {         case 0 .. 9 :         set_user_rendering(id, kRenderFxGlowShell, 3, 3, 3, kRenderTransAlpha, 10) // You can't do black, You'll have to change that.         case 10 .. 24 :         set_user_rendering(id, kRenderFxGlowShell, 255, 0, 0, kRenderNormal, 10)         case 25 .. 49 :         set_user_rendering(id, kRenderFxGlowShell, 255, 100, 0, kRenderNormal, 10)         case 50 .. 74 :         set_user_rendering(id, kRenderFxGlowShell, 255, 255, 0, kRenderNormal, 10)         case 75 .. 99 :         set_user_rendering(id, kRenderFxGlowShell, 0, 255, 0, kRenderNormal, 10)         case 100 .. 199 :         set_user_rendering(id, kRenderFxGlowShell, 0, 0, 255, kRenderNormal, 10)         default :         set_user_rendering(id, kRenderFxGlowShell, 255, 255, 255, kRenderNormal, 10)     } }

I fixed all those, I mean black and white not showing. That's because I did something bad. Well if it renders normal the shell wont show, it's just the model with nothing on it.

And I didn't mean black, I knew that, I meant gray ish... fixed that as well.

Anyway, THANKS ALOT! You fixed it!

I will take notes of this, + karma too you, and I will release this when I have added some other stuff.
Davidos is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode