Author Topic: Could someone help me make a store?  (Read 339 times)

I need some help making an event when the person clicks a brick they will get an item as long as they have a certian score.


OnActivate > Player > Ifscore ( I think it is ) > >= 50

Example of the first event.

I can't find Ifscore.

There's an easy way and a hard way.  The hard way is if you're using cash.

Easy Way
onAcivate>Client>ifScore> >= 50
I dunno teh rest. :P

Hard Way [Cash] [VCE]
You need VCE for this.

onActivate>player>VCE_ifVariable [Money] [=] [MoneyAmountHere]
onVariableTrue>player>addItems [ItemName] [Quantity]
onVariableTrue>player>VCE_modVariable [Money] [Subtract] [MoneyAmountHere]
onVariableFalse>client>chatMessage ["Not enugh Cash."]

There's an easy way and a hard way.  The hard way is if you're using cash.

Easy Way
onAcivate>Client>ifScore> >= 50
I dunno teh rest. :P

Hard Way [Cash] [VCE]
You need VCE for this.

onActivate>player>VCE_ifVariable [Money] [=] [MoneyAmountHere]
onVariableTrue>player>addItems [ItemName] [Quantity]
onVariableTrue>player>VCE_modVariable [Money] [Subtract] [MoneyAmountHere]
onVariableFalse>client>chatMessage ["Not enugh Cash."]
Thanks man!