Author Topic: (VCE) Help with brick event shops  (Read 671 times)

So i'm almost done with my rotating mini game server, but I have been looking for an add-on around the forums that or a tutorial on how to make it so when you click a brick it costs points to buy that brick. Yes, I know it's like the weapon shop add-on but, i'm looking for one where you can buy bricks instead, so you can purchase events. (Ex: buying a brick that costs 10 points to use, so you can open a door).  Any help would be greatly appreciated!

Onactivate > selfvceretrocheck > ifplayerscore >= 10

Onvariabletrue > client > addscore > -10

Onvariabletrue > self > toggleeventenabled > 0, 1, 2

Onvariabletrue > Namedbrick(Door) > Door > Open.

Might've missed something cause tired. This is a one time buy for something. Event 0 checks how much points player needs, Event 1 subtracts points from player. Event 2 disables the shop events so you can't buy something already bought. Event 3 is your output.

Hey man thanks for this. I tested it and it works.