Blockland Forums > Help

Help with VCE (money system)

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

seargent227:


--- Quote from: seargent227 on December 21, 2011, 08:12:51 PM ---0 Onactivate>client>VCE_Ifvariable>Score> >= >20 
1 OnVariableTrue>client>Vce_modvariable>Score>Subtract>20>1 3

--- End quote ---

event line 1 the numbers at end should be for event line 0 my mistake....

bestpersoneva:


--- 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 ---

Ok, i'll try!

bestpersoneva:

still not working :P I got it so the shop works, but it won't show my "Score" or won't show that i got "score" for killing a zombie..

jes00:


--- Quote from: bestpersoneva on December 22, 2011, 10:43:04 AM ---still not working :P I got it so the shop works, but it won't show my "Score" or won't show that i got "score" for killing a zombie..

--- End quote ---

--- Code: ---onBotDeath>Killer(client)>bottomPrint> [<color:ffffff>Points: <color:FFFF00><var:cl:score>]

--- End code ---


bestpersoneva:


--- Code: ---[quote author=jes00 link=topic=179752.msg4693622#msg4693622 date=1324580306]
[code]
onBotDeath>Killer(client)>bottomPrint> [<color:ffffff>Points: <color:FFFF00><var:cl:score>]

--- End code ---
[/quote]
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>
[/code]


So thats it, can you tell me whats wrong?

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

Go to full version