Blockland Forums > Help

Selling VCE Events

Pages: (1/3) > >>

1997man:

I need help with making a selling system heres what I got.
OnActivate self VCEIfvar fish >= 1
OnVarTrue client modvar fish - 1
OnVarTrue client movar gold + 1
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:fish> fish.
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:gold> gold.

Help?
Please help?

Zenthrox:

What exactly is giving you problems?

The only problem I see is that you have two CenterPrint events instead of having one CenterPrint event that displays both variables, like this:

OnVarTrue --> client --> CenterPrint --> <color:ffffff> Remaining Fish: <var:client:fish>    Gold: <var:client:gold>

1997man:

ok but for some reason its not working D:

1997man:

wheres my edit button D:


1997man:


--- Quote from: 1997man on January 04, 2010, 08:30:40 PM ---I need help with making a selling system heres what I got.
OnActivate self VCEIfvar fish >= 1 [] (empty space not sure what its for tthats what the [] is)
OnVarTrue client modvar fish - 1
OnVarTrue client movar gold + 1
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:fish> fish.
OnVarTrue client CenterPrint <color:ffffff>You have <var:client:gold> gold.

Help?
Please help?

--- End quote ---


Pages: (1/3) > >>

Go to full version