| Blockland Forums > Help |
| Shop System |
| (1/2) > >> |
| Alkatjo:
I just need to know how to do a fairly simple shop system, say if you got money or a variable for money, what events or mod could you use to put it for good use? |
| Pacnet2012³:
You could try the weapon shop system or modify / learn from it to buy other things http://forum.blockland.us/index.php?topic=188555.0 |
| GenaralSkar:
With VCE you can have a brick set to when you click it, it checks if the player has enough if a certain variable (money) and if they do it removes the money and gives them an item. I would post the events, but it's been a while since I've played and I would probably get them wrong or something. |
| Daswiruch:
You could always use those variable things. Money could be used as points, if a thing is per kill or something. |
| Kadon:
You can create a simple shop system like so: --- Code: (events) ---onActivate > Client > VCE_ifVariable money >= 100 onVariableTrue > Player > addItem "gun" onVariableFalse > Client MessageClient "You do not have enough money to buy a gun" --- End code --- |
| Navigation |
| Message Index |
| Next page |