Forum

> > CS2D > General > Speedmod value
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Speedmod value

7 replies
To the start Previous 1 Next To the start

old Speedmod value

henrii
User Off Offline

Quote
Hey guys I got a problem here

health = hp + 25, -- this means that 25 hp will be added to the current maxhealth,

But...

armor = speed + 6, -- this wont work because "speed" isn't an ingame value (hp is recognized as health and ap is armor if im not wrong)

So, I just wanted to know, if someone knows what the value for "speed" is, plz tell

Btw its "armor" because of this

parse("speedmod "..id.. " "..ability.armor)
parse("setmaxhealth "..id.. " "..ability.health)

I was too lazy to change it to speed so

old Re: Speedmod value

Masea
Super User Off Offline

Quote
I can't really say that I get you but I suppose that you meant this:
player(id, "speedmod")


For more: cs2d lua cmd player

old Re: Speedmod value

henrii
User Off Offline

Quote
I don't really know how to explain it, but if hp means health, ap means armor, then what is the "word" that means speed?, I know that both hp and ap work since i've been using them but now i don't know the "speed" one.


oh nvm I found a way around it

old Re: Speedmod value

Masea
Super User Off Offline

Quote
Let me just estimate then! You probably asked us some kind of variable that brings speed value of a player and stands at a script nobody knows. Because I never saw something like ability variable so far in my CS2D life.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview