Blockland Forums > Help

Help with VCE (money system)

Pages: << < (3/7) > >>

Racerboy:


--- Quote from: bestpersoneva on December 21, 2011, 06:54:16 PM ---Can you use that to buy weapons? like if you get 100 points you can buy a gun? if so leave the code please :P

--- End quote ---
Of course. Put this on the brick you would have in the store:


--- Code: ---Onactivate>client>VCE_IfVariable>[Score] >= [20]
OnVariableTrue>player>additem>[any item]
OnVariableFalse>client>Centerprint: You don't have enough points!
--- End code ---
The output event: additem is on RTB.

Also, you have to try some stuff out, we can't make the store and stuff for you. If you want to be good at this and make a successful server, you gotta learn how to VCE this stuff yourself.

bestpersoneva:


--- Quote from: Racerboy on December 21, 2011, 07:02:05 PM ---Of course. Put this on the brick you would have in the store:


--- Code: ---Onactivate>client>VCE_IfVariable>[Score] >= [20]
OnVariableTrue>player>additem>[any item]
OnVariableFalse>client>Centerprint: You don't have enough points!
--- End code ---
The output event: additem is on RTB.

Also, you have to try some stuff out, we can't make the store and stuff for you. If you want to be good at this and make a successful server, you gotta learn how to VCE this stuff yourself.

--- End quote ---

I can event pretty good, i mean i made a moving car from bricks, but VCE just scared me xD and the zombie one you showed me, i tried and it still doesn't work..

Racerboy:


--- Quote from: bestpersoneva on December 21, 2011, 07:13:14 PM ---I can event pretty good, i mean i made a moving car from bricks, but VCE just scared me xD and the zombie one you showed me, i tried and it still doesn't work..

--- End quote ---
wow, it must be the zombie mod or something lol. I honestly never tried working with it. Try getting points, then use the shop event above.

bestpersoneva:


--- Quote from: Racerboy on December 21, 2011, 07:24:47 PM ---wow, it must be the zombie mod or something lol. I honestly never tried working with it. Try getting points, then use the shop event above.

--- End quote ---

ok, but also i'm using ZAPT

seargent227:

Zombie

0 Onbotkilled>killer(client)>VCE_Modvariable>Score>Add>2
------------------------------------------------------------------------------

Shop

0 Onactivate>client>VCE_Ifvariable>Score> >= >20 
1 OnVariableTrue>client>Vce_modvariable>Score>Subtract>20>1 3
2 Onvariabletrue>player>additem>(choice of item)
3 Onvariablefalse>Client>Centerprint>You need 20 Score to buy this and you have <var:cl:Score>

Pages: << < (3/7) > >>

Go to full version