| Blockland Forums > General Discussion |
| Cashmod Storage? |
| (1/2) > >> |
| namone:
Hey I have been wanting to make an RP server using VCE, I have cashmod already, however, I need cashmod storage to finish it. But the link is broken and does not work. Anyone know were I can find it? |
| alex dude:
Don't use cashmod, just use VCE on it's own with the loading and saving variables addon. |
| namone:
I figured I could do that, however I am very new to VCE, so I was looking for a little simpler way to do it. |
| alex dude:
Its not hard to use VCE, there are many tutorials on how to use it. |
| Blaze0:
VCE For Dummies! OnActivate<Client<VCEModVariable[Cash + 1] adds 1 variable "cash" to the client. The difference between client and player is client variables do not dissapear when the player dies. Simple Purchasing: --- Code: ---Line0 OnActivate<Client<IfVariable[Cash >= 5] Line1 OnVariableTrue<Client<VCEModVariable[Cash - 5] Line2 OnVariableTrue<Player<AddItem[Gun] Line3 OnVariableTrue<Client<CenterPrint[You bought a gun for 5 dollars!] Line4 OnVariableFalse<Client<CenterPrint[You do not have enough for a gun.] --- End code --- The above code requires the player to have 5 of the cash variable. If they have 5 or more (>=) it will subtract 5 (line 1), give them the gun (line 2), tell them they purchased it with centerprint (line 3), or if they dont have enough, they are told they dont have enough (line 4) |
| Navigation |
| Message Index |
| Next page |