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




Buy Menu Prices!
6 replies



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.

I suggest you to create your own buymenu.
You just made him ask for something else. Well done..

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?




