Forum
Trash custom upgrade pricecustom upgrade price
2 replies 1
1
2
3
4
5
6
7
8
9
10
2
3
4
5
6
7
8
9
10
addhook("objectupgrade","_objectupgrade") upgrade_price=1000 function objectupgrade(id,_player,progress,total) 	if player(_player,"money")-upgrade_price<0 then 		return 1 	end 	parse("setmoney "..id.." "..player(_player,"money")-upgrade_price) end
However I think $100 will still be subtracted, you could implement your own upgrade, or make sure that the money you take away is 100 less, because 100 is already taken.
@ Zurak: Don't resubmit the form if you're using the history forward/back navigation buttons in your browser. Or better: Don't use them at all.
1