Forum

> > CS2D > General > wepon name error
Forums overviewCS2D overviewGeneral overviewLog in to reply

English wepon name error

16 replies
To the start Previous 1 Next To the start

old Re: wepon name error

NozliW
User Off Offline

Quote
Type weapon's name like it says on editor and with quotes.
Like This:
1
mp_wpndmg "Rpg Launcher" 200

old Re: wepon name error

mortyr22
User Off Offline

Quote
you cant use space bar using space bar is error and now i noneed rpg i need only mac10

old Re: wepon name error

Vectarrio
User Off Offline

Quote
Admirdee has written
mp_wpndmg "mac10" "9999999999" -- godlike damage epic

mac10 must be with space: "mac 10"

old Re: wepon name error

Crazyx
User Off Offline

Quote
If it is inside quotes ("), it can has spaces!

1
mp_wpndmg [b]"Mac 10"[/b] "9999999"
(dispiste you don't need quotes in 999999.

old Re: wepon name error

Admir
User Off Offline

Quote
oh, I see the mac 10 not have space like the image below

IMG:https://img204.imageshack.us/img204/136/liarmac10.png


DC should fix it or shouldn't.

old Re: wepon name error

NozliW
User Off Offline

Quote
mortyr22 has written
this is not lua! this is console command mp_wpndmg rpg_laucher 200

Space bar creates errors ONLY if you don't use quotes, u should had tried before saying that

old Re: wepon name error

DC
Admin Off Offline

Quote
Admirdee has written
oh, I see the mac 10 not have space like the image below

IMG:https://img204.imageshack.us/img204/136/liarmac10.png


DC should fix it or shouldn't.

nope, there is no bug to fix. you got something wrong there. let me explain it to you:

there are 2 different things:

• the weapon buy commands (mac10) - they never have spaces because cs2d commands with spaces are not allowed (thats what your screenshot shows).

• the actual weapon names ("Mac 10"). Commands which expect a weapon name as parameter always need that name. if it has a space in it you have to use quotes.

hint (already said): open the editor and place an item entity. click it and you'll see a list of all weapon names.

old Re: wepon name error

Vectarrio
User Off Offline

Quote
xeNium has written
If it is inside quotes ("), it can has spaces!

1
mp_wpndmg [b]"Mac 10"[/b] "9999999"
(dispiste you don't need quotes in 999999.

9999999 dont need quotes

old Re: wepon name error

mortyr22
User Off Offline

Quote
i try this :mac10,mac 10,mac_10,mac.10,map-10|||-dont work! but this error "creates" when i coding with rpg.
this can be MY COMPUTER bug

old Re: wepon name error

NozliW
User Off Offline

Quote
mp_wpndmg "Mac 10" 9999
use that
also,read all of the answers u've got on yout thread
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview