Blockland Forums > Help
Help with VCE (money system)
Orion:
--- Quote from: bestpersoneva on December 22, 2011, 04:21:16 PM ---
--- Code: ---the zombie still isn't showing points, but
the Shop is counting my points, i have it set so when you get 10 points you're able to purchase an M4A1, but it won't give me the item, yes i have Add item.. [Shop line 1: code]on activate>Client>VCE_Ifvariable>Score>>= >10>1 3
Shop Line 2: On variable true>Client>VCE_Modvariable>Score>Subtract>10
Shop Line 3: on variable True>Player>Add item> M4A1
Shope Line 4: On variable False>Client>Bottom Print>you do not have enough Money! you're score <var:cl:score>
--- End code ---
So thats it, can you tell me whats wrong?
--- End quote ---
pretty sure you have to press f2 to see your score.
jes00:
--- Quote from: bestpersoneva on December 22, 2011, 04:21:16 PM ---
--- Code: ---the zombie still isn't showing points, but
the Shop is counting my points, i have it set so when you get 10 points you're able to purchase an M4A1, but it won't give me the item, yes i have Add item.. [Shop line 1: code]on activate>Client>VCE_Ifvariable>Score>>= >10>1 3
Shop Line 2: On variable true>Client>VCE_Modvariable>Score>Subtract>10
Shop Line 3: on variable True>Player>Add item> M4A1
Shope Line 4: On variable False>Client>Bottom Print>you do not have enough Money! you're score <var:cl:score>
--- End code ---
So thats it, can you tell me whats wrong?
--- End quote ---
Perhaps you have a corrupted/old version of add item and/or VCE.
bestpersoneva:
--- Quote from: jes00 on December 23, 2011, 06:57:02 AM ---Perhaps you have a corrupted/old version of add item and/or VCE.
--- End quote ---
I'll download it again.
petey the pyro3134:
--- Quote from: seargent227 on December 21, 2011, 08:12:51 PM ---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>
--- End quote ---
it was that simple...
petey the pyro3134:
atleast you got help...