| Blockland Forums > Modification Help |
| vce help please |
| (1/1) |
| sishey:
im wondering because im new to vce and i dont know how to make buyable weapons help me out please. |
| phflack:
eventing != coding |
| Blaze0:
Wrong section. Belongs in Help. Also: OnActivate<Player<IfVariable<Cash [>=] (Amouont of money needed, in this case lets say 100) OnVariableTrue<Player<CenterPrint<You recieved a gun! OnVariableTrue<Player<AddItem<Gun OnVariabletrue<Player<ModVariable<Cash<[Subtract]<100 OnVarialbefalse<Client<CenterPrint<Not Enough Cash! Then to add cash to a player, use ModVariable. e.g. Input < Player < ModVariable < Cash < Add < 200 That would add 200 cash to the player when the input is activated. |
| Navigation |
| Message Index |