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

Since no one on RTB could help, can someone please help me make a Money system?

first i need it where you kill a zombie it gives you 10 points, and tells you that you earned points

next i need it where you can use those points to purchase guns..


can someone please help????? just post the event info! yes i have vce

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

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

ehh. there isn't (killer)  there is player/client.. i've also tried something similar to that.

and could you add a way for me to do the points to purchase guns?

(i've seen servers that used VCE and did this)

ehh. there isn't (killer)  there is player/client.. i've also tried something similar to that.

and could you add a way for me to do the points to purchase guns?

(i've seen servers that used VCE and did this)
Use client.

Use client.

Still not working :/ and can you tell me how to do the gun part?

well, it's working, you just need a way to display it.

Code: [Select]
onZombieDeath>Client>VCE_ModVariable>Add [score] [NUMBER]
Code: [Select]
onZombieDeath>Client>Centerprint: <var:cl:score>

well, it's working, you just need a way to display it.

Code: [Select]
onZombieDeath>Client>VCE_ModVariable>Add [score] [NUMBER]
Code: [Select]
onZombieDeath>Client>Centerprint: <var:cl:score>

Ok, i'll try, but now can you post the Gun shop code?

Ok, i'll try, but now can you post the Gun shop code?


ehhhh it didn't work...

or instead of modding any client variables you could just use incScore and <var:cl:score>

or instead of modding any client variables you could just use incScore and <var:cl:score>

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

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
Of course. Put this on the brick you would have in the store:

Code: [Select]
Onactivate>client>VCE_IfVariable>[Score] >= [20]
OnVariableTrue>player>additem>[any item]
OnVariableFalse>client>Centerprint: You don't have enough points!
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.

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

Code: [Select]
Onactivate>client>VCE_IfVariable>[Score] >= [20]
OnVariableTrue>player>additem>[any item]
OnVariableFalse>client>Centerprint: You don't have enough points!
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.

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

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

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.

ok, but also i'm using ZAPT

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>