Blockland Forums > Help
Two questions - Making a shop and JVS content
The Corporation:
--- Quote from: Rebel_Leber on September 10, 2011, 10:40:46 AM ---But has anyone here made a shop before, and could give me the scripting for it?
--- End quote ---
Use moneymod and VCE.
PM ottosan about it.
JPSC:
If you want to make Shops only out of VCE, do this:
Click on brick, get money
--- Code: ---onActivate -> Self -> dissapear
onActivate -> Player -> VCE_Variable -> [money] add [1]
--- End code ---
Buy item on shop
--- Code: ---onActivate -> Player -> VCE_RetroCheck -> [var:pl:money] [>=] [10] [1 3]
onVariableTrue -> Player -> addItem -> Gun
onVariableTrue -> Player -> VCE_Variable -> [money] add [-10]
onVariableFalse -> Client -> CenterPrint -> [You don't have enough money.]
--- End code ---
Rebel_Leber:
Yesss thank you JPSC. Sorry if I was confused and thought I needed to script or whatever, but now I understand how to make a shop.
Thank you all who posted.