Example, the price of the Deagle is $2000 example. And i edit and now is $1000. Stand? If stand, help me?
Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Buy Menu Prices!
6 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
Example, the price of the Deagle is $2000 example. And i edit and now is $1000. Stand? If stand, help me?
I suggest you to create your own buymenu.
![user](img/i_friend.png)
I suggest you to create your own buymenu.
You just made him ask for something else. Well done..
![](img/smiles/ugly.gif)
Don't forget to check their money amount. (player(id,"money"))
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?
![](img/smiles/halfhead.gif)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)