Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Help
»
How to Display Variables??
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: How to Display Variables?? (Read 1892 times)
Liek Dat
August 23, 2011, 11:49:37 PM
Ive done (OnActivate>Client>Centerprint> You have <var:player:money> dollars)
and it wont work X.X help please X(
Ad Bot
Advertisement
Swollow
August 23, 2011, 11:53:44 PM
I believe you say pl instead of player so <var:pl:money>
Liek Dat
August 23, 2011, 11:55:08 PM
i'll try that
Liek Dat
August 23, 2011, 11:56:55 PM
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 :(
Orthone
August 24, 2011, 12:01:43 AM
Do you have VCE? And is the money variable made with VCE, or with another add-on?
Liek Dat
August 24, 2011, 12:05:49 AM
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"
Ash
August 24, 2011, 12:13:28 AM
Try it out with a known variable, such as <var:cl:name>.
Also, "player" and "pl" function identically.
Liek Dat
August 24, 2011, 12:16:17 AM
It did the same thing.. it just said exactly what i said on the events... D: :D
Ash
August 24, 2011, 12:19:40 AM
Try using only defaults and VCE. Something else might be breaking it.
Liek Dat
August 24, 2011, 12:22:10 AM
Ill just screw around with stuff and try to fix it... i dont really know what you mean by defaults?): ):
Liek Dat
August 24, 2011, 12:25:18 AM
fixed it!!! I guess somehow i got the older version of variables..?? back when it was just OnActivate>Client>displayVariable :D :D :D
Dragonoid-X
August 24, 2011, 12:32:52 AM
Onactivate-client-VCEmodvariable[money]Add[5]
Onactivate-client-You have<var:cl:money>Dollars
GenaralSkar
August 24, 2011, 12:44:10 AM
Variable are case sensitive. Make sure you have all the right capitals.
Gen. Hothauser
August 24, 2011, 01:06:19 AM
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.
Headcrab Zombie
August 24, 2011, 01:22:14 AM
Quote from: GenaralSkar on August 24, 2011, 12:44:10 AM
Variable are case sensitive.
No they're not
Print
Pages: [
1
]
2
« previous
next »
Blockland Forums
»
Blockland Forums
»
Help
»
How to Display Variables??