Raised This Month: $ Target: $400
 0% 

Glow Health [ v1.2 ]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Buckshot
Senior Member
Join Date: Mar 2014
Location: Sweden
Old 04-16-2014 , 18:01   Re: Glow Health [ v1.0 ]
Reply With Quote #5

Why does every title have a wrench photo? It does not make sence.. It would fit at cvars, but it doesn't make sence in the other places..

Also i wanna ask some questions about ur code.. here are some examples.....
Code:
stock colorx(id, color1,color2,color3) {     set_user_rendering(id,kRenderFxGlowShell,color1,color2,color3,kRenderNormal,25) }
Code:
RemoveGlow( id ) {     set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderNormal,25) }

Code:
RegisterCvars() {     bot_cvar        = register_cvar("gh_bot_show","1")     red_health_cvar     = register_cvar("gh_red","25")     green_health_cvar   = register_cvar("gh_green","100")     yellow_health_cvar  = register_cvar("gh_yellow","70") } RegisterHamEvents() {     RegisterHam(Ham_Spawn, "player", "hk_spawn", 1)     RegisterHam(Ham_Killed, "player", "hk_dead", 1) } public plugin_init() { RegisterCvars() RegisterHamEvents() }

That question is WHY?

WHY do you create separate functions and stocks instead of writing ONE single line of code.. ? Most of the functions, and all of the stocks in your code are completely useless...


Also.. This is not needed:
Code:
public client_disconnect( id ) {     RemoveGlow( id );   }
and this is not needed either. In client_putinserver:
Code:
         else     {         RemoveGlow( id );     }
So.. conclusion.. my opinions: useless and horribly badly coded.. sorry if it chocked you..but it's the sad truth. Please read some basic tutorials before releasing plugins.
__________________
PM me for private work.



Last edited by Buckshot; 04-16-2014 at 18:22.
Buckshot is offline
Send a message via Skype™ to Buckshot
 



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 17:52.


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