Author Topic: How to Display Variables??  (Read 1895 times)

Ive done (OnActivate>Client>Centerprint> You have <var:player:money> dollars)
and it wont work X.X help please X(

I believe you say pl instead of player so <var:pl:money>


Nope. When i clicked on the brick it said "You have <var:pl:money> dollars."
Instead of "You have 100 dollars". <--- I need it to say that :(

Do you have VCE? And is the money variable made with VCE, or with another add-on?

Yes i have VCE and its suppose to be like an admin money spawn and it adds 1000 dollars then tells you how much you have. Its like:
1. On activate>Player>addVariable>Money>100
2. On activate> Client> Center Print> You have <var:pl:money> dollars.

And all it comes up as is. "You have <var:pl:money> dollars"
I need it to say "You have 1000 dollars"

Try it out with a known variable, such as <var:cl:name>.

Also, "player" and "pl" function identically.

It did the same thing.. it just said exactly what i said on the events... D: :D :panda: :panda: :panda: :panda: :panda:

Try using only defaults and VCE. Something else might be breaking it.

Ill just screw around with stuff and try to fix it... i dont really know what you mean by defaults?): ):

fixed it!!! I guess somehow i got the older version of variables..?? back when it was just OnActivate>Client>displayVariable :D :D :D

Onactivate-client-VCEmodvariable[money]Add[5]
Onactivate-client-You have<var:cl:money>Dollars

Variable are case sensitive. Make sure you have all the right capitals.

As dragonoid ha posted earlier, it was that he added the money to the player, not to the client.

Keep the variable the same as what you set the amount (money) to.