Blockland Forums > Help

Need Help With VCE

Pages: << < (2/2)

Gen. Hothauser:


--- Quote from: dell2 on January 05, 2013, 04:37:14 PM ---Still doesnt work

--- End quote ---

Post a new picture.

Gen. Hothauser:


--- Quote from: CheeseDragon on January 05, 2013, 07:00:07 PM ---Do you want it to sell a gun then when the gun has been bought once they get it for free?

Sorry for any misspellings or bad autocorrects, I'm on my phone.


--- Code: ---Onactivate - client - vceIfvariable [aa12bought] == [1] [1 2]
Onvariabletrue player add item [aa12]
Onvariablefalse - self - vceifvalue - [<var:cl:score>] >= [50] [3 7]
Onvariabletrue - client incscore [-50]
Invariable true - client - vcemidvariable [aa12bought] set 1
Onvariabletrue - player - additem [aa12]
Onvariabletrue - client centerprint [weapon has been purchased, click again at any time to receive weapon.]
Onvariablefalse - client - centerprint [not enough poison]

--- End code ---
You can save the variables but my fingers hurt too much

--- End quote ---

Do exactly this, just use the variable "aa12" instead of "aa12bought", as it is unneeded.

Pages: << < (2/2)

Go to full version