| Blockland Forums > Help |
| <var:cl:m> Help |
| (1/1) |
| yourthatdude:
So I am currently playing on my friends server and we need to check our Var money balance I know how to make the code and everything but when I do it it does this... In event screen: You have <var:cl:m> dollars. After click: You have dollars. How to fix it? |
| Greek2me:
Make sure <var:cl:m> is actually set to something. |
| Adam3442:
This may help --- Code: ---OnActivate>Client>IfVariable> >=[0] OnVariableFalse>CLient>Centermessage>[You have no money!] OnVariableTrue>Client>Centermessage>[You have <var:client:m> dollars!] --- End code --- Help at all? |
| Lugnut:
if you are modifying the variable through the following event example, you're doing it wrong onActivate>Client>VCE_ModVariable [<var:cl:m>] [9001] if you are modifying the variable through the following event example, you're doing it right onActivate>Client>VCE_ModVariable [m] [9001] the first example modifies the client variable "<var:cl:m>" and the second example modifies the client variable "m" which is what you want. |
| Navigation |
| Message Index |