Author Topic: Cashmod Eventing, How to edit Cash via VCE.  (Read 529 times)

I've been trying to figure out how to control cash through VCE.
I'm trying to get something like this.
On Activate > Player > VCE_IfVariable > Cash >= 100
My friend thought he figured it out, but it didn't work.
On Activate > Player > VCE_IfVariable > <var:player:cash> >= 100
But that didn't work.
Any thoughts?
I've tried alot of different things.

Looks familiar..

I would see it ingame if I had a BL key :s


That doesn't work though lol, I tested it after you left.

Bump, Cause I haven't really been able to do much towards my server while waiting for help.
Other than search more old topics that are also unanswered I guess.

Money adding bricks:
0 []onActivate > Client > VCE_modVariable > [Client] cash [Add] 100

Money checking brick:
0 [] onActivate > Self > VCE_ifValue > [<var:cl:cash>] >= [100] [1 1]
1 [] onVariableTrue > Client > chatMessage > [<color:ffffff>You have: <color:00cc00><var:cl:cash>

VCE cannot interact directly with the cashmod.

You have to make your own 'cash' variable and work with that somehow.
Or script whatever you're working on instead of eventing it.

VCE cannot interact directly with the cashmod.

You have to make your own 'cash' variable and work with that somehow.
Or script whatever you're working on instead of eventing it.
Thanks, now how do we set it where if a zombie dies by a players hand, that specific player gets cash?