Files

> > CS2D > Lua Scripts > Infinite HP
Files overviewCS2D overviewLua Scripts overview

English Infinite HP >

22 comments797 b, 822 Downloads

old Infinite HP

DsTyLe
User Off Offline

Well this mod allows you to set infinite HP. You can use sethealth comand but only you can 250 hp. With this script you can use !sethp (id) (hp) command to set Extra health. If your extra health is over then you will be hurted. To see your total hp you can type !myhp. On each respawn you will have your total hp.

The script have some other disabled functions like +1hp per kill or admin list.

Enjoy It.
Approved by Sparty

Download Download

797 b, 822 Downloads

Comments

22 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

projr
GAME BANNED Off Offline

that was not infinite hp
edited 3×, last 16.05.15 02:12:26 pm

old

HardY
User Off Offline

Very good, but is more an Extra HP than Inf HP.
Can I use this in my script? I'll give the credits, of course.
I like it!

old

stealth_killer
User Off Offline

when you say infinite life then you say that players never die?


if that so then this sucks because its annoying to shooting players and they dont die( but if im wrong then i will rate you 5)

old

archmage
User Off Offline

@MC_Bowlinghead, Spartan2D
It isn't a bug, glitch, or error. Computers cannot use numbers larger than 2^64-1. But most programs only use 32-bit numbers so 2^32-1. Lua uses 64-bits for its numbers though (I think).

old

Bowlinghead
User Off Offline

@ user Spartan2D =
I know this bug. Its not at this Mode its everywhere (Not only in CS2D in every game with these high numbers)

old

Spartan2D
User Off Offline

very good script, only an error/bug:
Cradled I put 999999999999 HP = 1e+023
error or bug?
I like it!
edited 2×, last 03.07.11 09:16:26 pm

old

HaRe
User Off Offline

@dsstyle:

thats not called infinite. ...

Infinite = unlimited
Your script = Not infinted, since you can give your self like 200 health, but still not infinite


also

infinite = God mode (You can never die)
I like it!

old

SharpEye
User Off Offline

oh ya if i make new server not an dedicated server
its works but in dedicated server its say
LUA ERROR: sys/lua/extralife.lua:46: attempt to compare nil with number
LUA ERROR:sys/lua/extralife.lua:29:attempt to compare nil with number and two of this continous
sorry im noob in Lua
but this is great
I like it!

old

loldlold123
User Off Offline

its possible if you are admin make it:
use always hook and make (i dont know your codes because i dont look it... exemple:) hp[id]= 1000
its always hook and all time your extra hp = 1000 its never change.

old

DsTyLe
User Off Offline

@SharpEye
Man you fail. My script have return 1 on hit hook. You real hp dont go down if your extra hp is more than 0. I play with the script and it works. I think you need to download it and then write a comment.

@KimKat
Maybe you are right. But if you get +1 extra hp per kill you can get all the hp you want. And yes, this is like a cheat. I made this because i was bored and I saw "Infinite Money" script. I wanted do the same but with HP.

old

KimKat
GAME BANNED Off Offline

Good script, it's good to have infinite health sometimes... but it would be considered as cheating if no one else gets this... unfair treatment of players, etc. It's like giving one player a laser and expect the other players to be okay with it. But still, nice Lua...

DsTyLe has written
You can set yourself the biggest number you can write.
If you cant write an infinite numer it is your problem
The infinite value is: .

It's possible to write Lua that interprets that symbol as infinite.
Spoiler >
It will work like a alias (I think).
I like it!

old

SharpEye
User Off Offline

hi dani i give 3/5 cuz when enemy shoot me
extra hp down and real hp is down too
when real hp 0 im die but it still good nice lua
I like it!

old

DsTyLe
User Off Offline

@PartyPooper

You can set yourself the biggest number you can write.
If you cant write an infinite numer it is your problem

old

Surplus
User Off Offline

@DsTyLe
That isnt even close to Infinite...
I like it!

old

P0rtal
BANNED Off Offline

nice! finally i have unlimited HP thanks!
I like it!

old

DsTyLe
User Off Offline

@HaRe
infinite/more it is the same because you can set yourself 9999999999 Extra HP using !sethp comand.

@PartyPooper
I never see that scrit im sorry :p

@Nuclear_Bomb and DannyDeth

Yes im ÐANI in-game. My name is DaniSTYLE ;$

old

HaRe
User Off Offline

1. Yeah partypooper is right, This has been done before
2. The title says "Infinite HP", I think you mean " More HP "

But yeah still good
I like it!

old

Surplus
User Off Offline

@Nucleaar_Bomb
Hi Dani!

3/5 cause this has been done before (zombie scripts)
I like it!

old

connor34
User Off Offline

Maybe not who knows maybe i am Ðani

old

DannyDeth
User Off Offline

Maybe his in-game name is Ðani?
To the start Previous 1 2 Next To the start