Raised This Month: $ Target: $400
 0% 

Map Health


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
SHLAKBAUM
Member
Join Date: May 2009
Old 01-17-2010 , 07:17   Map Health
Reply With Quote #1

Map Health
.: Description :.
Simple plugin, which set user health on map from config file.

.: Cvars :.
mh_enable 1/0 - Enable/disable plugin
mh_team 0/1/2 - What team set health? (0 - both, 1 - CT, 2 - T)

.: Usage :.
- Create a folder called "MapHealth" at "addons/amxmodx/configs".
- Inside the folder, create a file "<mapname>.ini".
- Inside the "<mapname>.ini" file, add number of health, which should be set on this map.

.: Credits :.
DJ_WEST

.: Changelog :.
Code:
v0.5
- First Release
v0.5.1
- Added check is alive player (thanks ConnorMcLeod)
Attached Files
File Type: sma Get Plugin or Get Source (MapHealth.sma - 886 views - 1.5 KB)
File Type: sma Get Plugin or Get Source (MapHealthFun.sma - 805 views - 1.5 KB)
__________________
[Steam]
[IMG]http://a.**************/img693/1005/afterglow.png[/IMG]

Last edited by SHLAKBAUM; 01-19-2010 at 09:04. Reason: Added fun version...
SHLAKBAUM is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 01-17-2010 , 07:21   Re: Map Health
Reply With Quote #2

Although it also has an other feature, this plugin does the same thing.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
SHLAKBAUM
Member
Join Date: May 2009
Old 01-17-2010 , 07:30   Re: Map Health
Reply With Quote #3

Quote:
Originally Posted by DarkGod View Post
Although it also has an other feature, this plugin does the same thing.
And it, but idea is that each map you can set different health
__________________
[Steam]
[IMG]http://a.**************/img693/1005/afterglow.png[/IMG]
SHLAKBAUM is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-17-2010 , 07:31   Re: Map Health
Reply With Quote #4

With those plugins you can too. just create per-map config file and put different cvars in it
__________________
xPaw is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 01-17-2010 , 09:14   Re: Map Health
Reply With Quote #5

This is easier anyway...
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 01-17-2010 , 09:28   Re: Map Health
Reply With Quote #6

Quote:
Originally Posted by crazyeffect View Post
This is easier anyway...
Totally same way, imo
__________________
xPaw is offline
Zombiezzz
Veteran Member
Join Date: Nov 2009
Location: Nov 2009
Old 01-17-2010 , 11:19   Re: Map Health
Reply With Quote #7

i like this plugin better ^^ nice job
__________________
Zombiezzz is offline
floatman
Senior Member
Join Date: Oct 2009
Location: nowhere.
Old 01-17-2010 , 11:41   Re: Map Health
Reply With Quote #8

Use the fun natives instead of fakemeta functions.
__________________

floatman is offline
SHLAKBAUM
Member
Join Date: May 2009
Old 01-17-2010 , 12:43   Re: Map Health
Reply With Quote #9

Quote:
Originally Posted by floatman View Post
Use the fun natives instead of fakemeta functions.
Why?
P.S. This was in first versions...
__________________
[Steam]
[IMG]http://a.**************/img693/1005/afterglow.png[/IMG]
SHLAKBAUM is offline
floatman
Senior Member
Join Date: Oct 2009
Location: nowhere.
Old 01-17-2010 , 14:32   Re: Map Health
Reply With Quote #10

Fun natives are more efficient.
__________________

floatman is offline
Reply



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 13:29.


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