Forum

> > CS2D > General > Speedmod value
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Speedmod value

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Speedmod value

henrii
User Off Offline

Zitieren
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

alt Re: Speedmod value

Masea
Super User Off Offline

Zitieren
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

alt Re: Speedmod value

henrii
User Off Offline

Zitieren
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

alt Re: Speedmod value

Masea
Super User Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht