Forum

> > CS2D > General > Weapon Names with Space + Lua
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Weapon Names with Space + Lua

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Weapon Names with Space + Lua

Somaz
User Off Offline

Zitieren
Can someone please tell me what is the weapon name of the RPG Launcher?

Unfortunately, the name of this weapon has 2 words.

What I want to do is change it's damage through mp_wpndmg

Edit: Ok... Through LUA I found that it's name really IS RPG Launcher. Please don't tell me I can't change it's damage...

alt Re: Weapon Names with Space + Lua

Somaz
User Off Offline

Zitieren
I am trying to do this from a LUA script. Is that possible?

Edit: I want to use this chance to say: NOOOOOOOOOOOOOOOOOOOOOOOOOO!


Seriosly,

alt Re: Weapon Names with Space + Lua

DC
Admin Off Offline

Zitieren
omg.. seriously! I can't believe it! Seriously! OMG! We will die!

wtf. don't worry. it works with Lua as well!
1
parse('mp_wpndmg "RPG Launcher" 1')
the trick is to use single quotes for the outer quotes in Lua.

I know that it is hard to realize how awesome CS2D is.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht