Raised This Month: $95 Target: $400
 23% 

Health Disguise v1.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Exolent[jNr] (178)
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 17:41   Health Disguise v1.1
Reply With Quote #1

Health Disguise 1.1
BOYSplayCS

Description:
This plugin turns you semi-invisible if your health drops below or is equal to a certain amount.

*New
Now, the less health you have the more invisible you are!


Cvars:
amx_disguise_health "35" - Sets the health needed to turn semi-invisible.
amx_disguise_alpha "0" - Sets the invisibility amount.


Modules:
Hamsandwich
Fun


Credits:
Exolent - Coding Changes
joa - Coding Changes / Suggestions



Changelog:
4/4/09: Plugin Released (1.0)
4/4/09: Code Updated (1.0)
4/4/09: Code Updated (1.1)
4/4/09: Code Optimized (1.1)
4/4/09: Changed code (1.1)
4/4/09: Added "Less HP - More Invisibility" (1.1)
Attached Files
File Type: sma Get Plugin or Get Source (health_disguise.sma - 1582 views - 1.3 KB)

Last edited by BOYSplayCS; 04-04-2009 at 23:45. Reason: Version 1.1
BOYSplayCS is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 17:44   Re: Health Disguise
Reply With Quote #2

Notice: View the ZP version here!
BOYSplayCS is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 04-04-2009 , 17:47   Re: Health Disguise
Reply With Quote #3

why not just make like
PHP Code:
#define USING_ZP

#if defined USING_ZP
 // zp verison
#else
 // normal
#endif 
instead of having 2 different plugins.
__________________
xPaw is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 17:48   Re: Health Disguise
Reply With Quote #4

I was thinking about that and decided that, it may cause problems/errors if I combine the two. Unless I need it for approval, I will not implement this.

I am open to any other suggestions though.

Thanks ;)
BOYSplayCS is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-04-2009 , 17:51   Re: Health Disguise
Reply With Quote #5

It's better to have separate since one will be put in the ZombiePlague forum anyway.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 18:00   Re: Health Disguise
Reply With Quote #6

True.

Btw, I am changing the code for this one too Exolent. Thanks a lot for the explanations and stuff!
BOYSplayCS is offline
Old 04-04-2009, 18:09
BOYSplayCS
This message has been deleted by BOYSplayCS.
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 18:35   Re: Health Disguise
Reply With Quote #7

Version 1.1 Released
BOYSplayCS is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 19:31   Re: Health Disguise v1.1
Reply With Quote #8

Code has been updated once again, see original post.

Also: post feedback!
BOYSplayCS is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-04-2009 , 19:38   Re: Health Disguise v1.1
Reply With Quote #9

You could make something like "the less HPs the more invisible".
__________________
- tired and retired -
ConnorMcLeod is offline
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 04-04-2009 , 19:46   Re: Health Disguise v1.1
Reply With Quote #10

@Connor: I would have to think about how to do that.

Also: Code updated once again, lol.
BOYSplayCS is offline
Reply


Thread Tools
Display Modes

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 02:11.


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