Author Topic: Help with VCE (money system)  (Read 4376 times)

0 Onactivate>client>VCE_Ifvariable>Score> >= >20 
1 OnVariableTrue>client>Vce_modvariable>Score>Subtract>20>1 3

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

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>

Ok, i'll try!

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

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..
Code: [Select]
onBotDeath>Killer(client)>bottomPrint> [<color:ffffff>Points: <color:FFFF00><var:cl:score>]

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

Code: [Select]
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>


So thats it, can you tell me whats wrong?
pretty sure you have to press f2 to see your score.

Code: [Select]
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>


So thats it, can you tell me whats wrong?
Perhaps you have a corrupted/old version of add item and/or VCE.

Perhaps you have a corrupted/old version of add item and/or VCE.

I'll download it again.

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>
it was that simple...

atleast you got help...                       



Code: [Select]
onbotkilled>Killer(client)>VCE_ModVariable>Add [score] [NUMBER]
Or something like that.

There you go.

There you go.

other people have posted that, but i'll try it again.

hey derp, it isn't working smart ass.
woah woah take it easy not trying to get on you're nervs just sayin it was easy to get info if it aint working then I dont know...