Raised This Month: $ Target: $400
 0% 

[sug] Infinite life


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
elpouletorange
Senior Member
Join Date: Oct 2007
Old 03-22-2008 , 00:53   [sug] Infinite life
Reply With Quote #1

When the player spawn give him: 999999999HP
When the player hp is < than 666666HP give him back 999999999HP

So like that the player get Infinite life :O !
__________________
I am 42% addicted to Counterstrike. What about you?

No more CS for me....
elpouletorange is offline
Styles
Veteran Member
Join Date: Jul 2004
Location: California
Old 03-22-2008 , 03:45   Re: [sug] Infinite life
Reply With Quote #2

Why not just give them godmode?
Styles is offline
Send a message via AIM to Styles
hazard1337
Senior Member
Join Date: Sep 2006
Old 03-22-2008 , 11:56   Re: [sug] Infinite life
Reply With Quote #3

Because Godmode is cheap and admin abuse, infinite life is fair because they aren't invulnerable, just a lot of hp.
__________________
[IMG]http://img139.**************/img139/1530/2sejaewg1.gif[/IMG]
If you +/- my K, leave your name.
I do not take requests VIA PM
Click on this before requesting/suggesting
This is your best friend
hazard1337 is offline
Send a message via Skype™ to hazard1337
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-22-2008 , 20:27   Re: [sug] Infinite life
Reply With Quote #4

The method he is requesting is the same as godmode, just it appears like you are hurting them, but you are actually not
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
ContactLens
New Member
Join Date: Mar 2008
Old 03-23-2008 , 17:27   Re: [sug] Infinite life
Reply With Quote #5

Quote:
The method he is requesting is the same as godmode, just it appears like you are hurting them, but you are actually not
Its not same..

Infinite HP -When u drop from high place,you will - alot hp...but you wont die
Godmode -When u drop from high place,you will - alot hp...but you'll die

Godmode just make bullet go thru you..and have no blood comes out, but with Infinite HP,you cant die forever unless an Admin uses some "Bad" commands..

i've been hacking for 2 years now (not in cs)...so i know

Sorry my english not very good ;(

Last edited by ContactLens; 03-23-2008 at 17:33.
ContactLens is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-23-2008 , 17:52   Re: [sug] Infinite life
Reply With Quote #6

Code:
#include <amxmodx> #include <fakemeta> #include <hamsandwich> #define HEALTH_MIN  666666 #define HEALTH_RESET    999999999 new bool:g_bInfiniteLife[33]; public plugin_init() {     register_plugin("Infinite Life", "0.1", "Exolent");     RegisterHam(Ham_TakeDamage, "player", "fwd_Ham_TakeDamage");     register_concmd("amx_infinitelife", "concmd_InfiniteLife", ADMIN_SLAY, "<nick, #userid, authid> <1|0>"); } public client_connect(id) {     g_bInfiniteLife[id] = false; } public fwd_Ham_TakeDamage(this, inflictor, attacker, Float:fDamage, bitDamage); {     if(!is_user_alive(this) || !g_bInfiniteLife[this])     {         return HAM_IGNORED;     }         static Float:fHealth[33];     pev(this, pev_health, fHealth[this]);         if((fHealth[this] - fDamage) < float(HEALTH_MIN))     {         set_pev(this, pev_health, float(HEALTH_RESET));     }     return HAM_IGNORED; } public concmd_InfiniteLife(id, level, cid) {     if(!cmd_access(id, level, cid, 3))     {         return PLUGIN_HANDLED;     }         static sArg[35], player;     read_argv(1, sArg, sizeof(sArg) - 1);     player = cmd_target(id, sArg, 1);     if(!player)     {         return PLUGIN_HANDLED;     }         static bool:bOn;     read_argv(2, sArg, sizeof(sArg) - 1);     bOn = bool:str_to_num(sArg);     if(g_bInfiniteLife[player] == bOn)     {         return PLUGIN_HANDLED;     }         g_bInfiniteLife[player] = bOn;         if(!g_bInfiniteLife[player])     {         set_pev(player, pev_health, 100.0);     }         static sName[33][32], sAuthid[33][35];     get_user_name(id, sName[id], sizeof(sName[]) - 1);     get_user_authid(id, sAuthid[id], sizeof(sAuthid[]) - 1);     get_user_name(player, sName[player], sizeof(sName[]) - 1);     get_user_authid(player, sAuthid[player], sizeof(sAuthid[]) - 1);     client_print(0, print_chat, "[AMXX] ADMIN %s: %sset infinite life on %s.", sName[id], bOn ? "" : "un", sName[player]);     console_print(id, "[AMXX] %set infinite life on %s.", bOn ? "S" : "Uns", sName[player]);     log_amx("%s <%s> %sset infinite life on %s <%s>", sName[id], sAuthid[id], bOn ? "" : "un", sName[player], sAuthid[player]);     return PLUGIN_HANDLED; }
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 05-01-2008 at 07:34.
Exolent[jNr] is offline
ContactLens
New Member
Join Date: Mar 2008
Old 03-23-2008 , 18:05   Re: [sug] Infinite life
Reply With Quote #7

Just one question...If everyone is "invulnerable"(hope i spell it right )..then theres no fun..
ContactLens is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 03-23-2008 , 18:08   Re: [sug] Infinite life
Reply With Quote #8

with godmode, the player takes no damage at all.
bullets dont affect the player in any way.
falling doesnt affect the player in any way.

with a lot of hp, the player takes damage, but never dies
bullets hit the player, and give the usual effect, but never kill
falling does damage, and a little screen shake, but never kill
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
hazard1337
Senior Member
Join Date: Sep 2006
Old 03-24-2008 , 16:12   Re: [sug] Infinite life
Reply With Quote #9

Infinite HP is EXACTLY the same with the exception of the blood from being shot and the sound of them crunching their legs w/ no damage.
__________________
[IMG]http://img139.**************/img139/1530/2sejaewg1.gif[/IMG]
If you +/- my K, leave your name.
I do not take requests VIA PM
Click on this before requesting/suggesting
This is your best friend
hazard1337 is offline
Send a message via Skype™ to hazard1337
elpouletorange
Senior Member
Join Date: Oct 2007
Old 03-25-2008 , 19:39   Re: [sug] Infinite life
Reply With Quote #10

Thx for the plugin! But can you set it for a admin command please ?
__________________
I am 42% addicted to Counterstrike. What about you?

No more CS for me....
elpouletorange 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 01:13.


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