so... what i gonna do now ?
Forum
CS2D General how to change weapon valueshow to change weapon values
27 repliesso... what i gonna do now ?
http://cs2dwids.pastebin.com/f5a544c83
i type: "mp_wpndmg 23 30" ==!
1
mp_wpndmg "Mac 10" 30
phihung940 has written
Yes ! thank you for support hey ! how to edit price of weapon ? - i dont want creat a BIG new topic for this SMALL question
I think that's not possible.
Only building price.
1
mp_building_price "[i]building-name[/i]" "[i]building-price[/i]"
Building's don't use ID, only their real name.
xeNium has written
I think that's not possible.
phihung940 has written
Yes ! thank you for support hey ! how to edit price of weapon ? - i dont want creat a BIG new topic for this SMALL question
I think that's not possible.
That's possible only with script.
oh hey ! i have write the script like this:
parse("mp_wpndmg Wrench 65")
parse("mp_wpndmg "Mac" 30")
this is right ? i've check but not work ==!
edited 1×, last 23.10.09 09:48:48 am
why are you using Lua and parse for simple cs2d settings?
you can insert cs2d commands into cs2d cfg files (sys/autoexec.cfg) directly without having to wrap parse around it!
1
2
2
mp_wpndmg Wrench 65 mp_wpndmg "Mac 10" 30
the weapon is not called "Mac". it's "Mac 10"
if you really need to use Lua: you are using " four times in one string. this can't work. Lua will parse it this way:
parse("mp_wpndmg "Mac" 30")
the bold part will be the string parameter for parse (so it's like entering "mp_wpndmg " in the console - which does nothing). the rest will be Mac" 30") which doesn't make sense for Lua. Instead use different quotation marks:
parse('mp_wpndmg "Mac 10" 30')
and another question , how to change max money ?
phihung940 has written
@DC: thank for support man !
and another question , how to change max money ?
and another question , how to change max money ?
you cant d'oh
phihung940 has written
@DC: thank for support man !
and another question , how to change max money ?
and another question , how to change max money ?
You can use other values for it, script.
Otherwise it's not possible.
phihung940 has written
Check this post and you have your answer. @DC: thank for support man !
and another question , how to change max money ?
and another question , how to change max money ?
http://www.cs2d.com/help.php?cat=all
JaBoo has written
I am just wondering, is mp_wpndmg affected the Rightclick for wrench?
Wrench hasn't any attack on mouse2. Only build function
for everything else: simply try it.
edit: I was too slow
I meant, when you are fixing the building.
Can wrench fix be more powerful?
Are it possible with lua?