Author Topic: Event help  (Read 480 times)

I have seen on some servers that to buy a certain item you must have a certain amount of points. What is the command and is it an addon or series of addons?

VCE is a choice, but i think it's private now.

VCE is a choice, but i think it's private now.
I still have it but I have no idea how to work it

I know how to do it if i can remeber give me 30 minutes and illy prob have figured out again

I did a video on this a long time ago.
Here you go.

NOEDIT: I don't mention it in the video but if you want to use score instead of a new variable you would put <var:client:score> instead of <var:client:m>

VCE Events download

Code: [Select]
onActivate -> Self ->VCE_retroCheck-> ifPlayerScore-> == -> [ Amount to price you want ] -> [   ]
onVariableTrue -> "Choose from here what you want it to do"
onVariableTrue -> Client -> IncScore -> [-"What the price is"
onVariableFalse -> Client -> VCE_modVariable -> [points] -> Set -> [10]
onVariableFalse -> Client -> VCE_modVariable -> [points] -> Subtract -> [<var:ct:score>]
onVariableFalse -> Client -> CenterPrint -> [<color:ffffff><font:impact:30>You need "the price of your item" points. You have <var:ct:score:>!]
If you need help PM me on my forums and ill do my best to help

Or use marbs...

http://www.dropbox.com/s/rd9xzfxztsozzv8/Event_mPurchase.zip?dl=1

http://www.dropbox.com/s/5kalor3ndikool kids klubjf/Event_BuyItem.zip?dl=1

It was one of them I cannot remember. Sorry though I think it's the latter one.

Or use marbs...

http://www.dropbox.com/s/rd9xzfxztsozzv8/Event_mPurchase.zip?dl=1

http://www.dropbox.com/s/5kalor3ndikool kids klubjf/Event_BuyItem.zip?dl=1

It was one of them I cannot remember. Sorry though I think it's the latter one.
These are simple events, like onactivate self buyitem [Item] [amount]

or something like that. No VCE necessary.

All of these are extremely helpful, thank you!