Blockland Forums > Help
Transfer Variables From A Brick To A Player
Orthone:
What exactly are you trying to do? Do you have a server that I may come to, to help you accomplish this? Why am I asking so many questions?
GenaralSkar:
I'm am trying to create a system where someone buys something, the "money" goes to a brick, and I can collect that "money" later.
Orthone:
Oh that's easy. Subtract the clients variable, and right under, just add X to the bricks 'Money' var. Then have an event down the line where if <var:cl:Name> == GenaralSkar, then add <var:br:Money> to player/clients Money and set <var:br:Money> to blank.
GenaralSkar:
Explain with the events.
Orthone:
The events I did before is pretty much what you're doing here..
--Choices for people to buy stuff-
-give them the stuff
-take away their money var
-add the money they spent and add it to the bricks Money var
--when Skar activates
-add bricks money to Skar
-set bricks money to blank