Forum

> > CS2D > Scripts > Buy Menu Prices!
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Buy Menu Prices!

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Buy Menu Prices!

samucaj
User Off Offline

Zitieren
Guys, how to edit price of the weapons in Counter strike 2D?

Example, the price of the Deagle is $2000 example. And i edit and now is $1000. Stand? If stand, help me?

alt Re: Buy Menu Prices!

Tajifun
User Off Offline

Zitieren
As far as I know editing the Buy Menu prices is not possible.

I suggest you to create your own buymenu.

alt Re: Buy Menu Prices!

Yates
Reviewer Off Offline

Zitieren
user Tajifun hat geschrieben
I suggest you to create your own buymenu.

You just made him ask for something else. Well done..

alt Re: Buy Menu Prices!

samucaj
User Off Offline

Zitieren
No, but is a good idea. With scripts i can create a new menu but, can i add new server action button? Why i used the 3 server actions buttons in my server. And buy menu is not avaible in my Server " NoBuying ". So, can add new button?

alt Re: Buy Menu Prices!

Apache uwu
User Off Offline

Zitieren
Well potentially you could open a buy menu with the server action keys. The list the item prices on the side of the menu with "|", afterwards you could just use the parse command setpos to decrease their money.

Don't forget to check their money amount. (player(id,"money"))

alt Re: Buy Menu Prices!

samucaj
User Off Offline

Zitieren
So i test this form, is correct?

addhook("action","BYmenu")
function Bymenu(id,action)
if button==act1 then
menu(id,"Buy Menu,Melee,Pistols,Exit")
end
end

If title==("Melee")
if button==1 then
(player(id,"money"))
if money==+500 then
parse( give item to player )
parse( substract money for player )-500)
menu(id,"Melee,Knife,Return")
end
end
If button==2 then
return 1
end

If title==("Pistols")
if button==1 then
(player(id,"money"))
if money==+500 then
parse( give item to player )
parse( substract money for player )-500)
menu(id,"Melee,Glock,Return")
If button==2 then
return 2
end

If tile==("Return")
return 3
end

It's not okay isn't?
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht