Forum

> > CS2D > General > Weapon Names with Space + Lua
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Weapon Names with Space + Lua

5 replies
To the start Previous 1 Next To the start

old Weapon Names with Space + Lua

Somaz
User Off Offline

Quote
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...

old Re: Weapon Names with Space + Lua

Somaz
User Off Offline

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

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


Seriosly,

old Re: Weapon Names with Space + Lua

DC
Admin Off Offline

Quote
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.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview