Author Topic: Variables Help?  (Read 1231 times)

I am making a RP Server, and I am making a tavern presently. My tavern will sell

Hamburgers
Beer
and Cake (may or may not add more food in the future)
However I have ran into a problem. I have checked and re-checked my events over and over again and it just doesn't add up. I can buy "Hamburger" fine with no problem, however Beer and Cake don't seem to be working. What is wrong with my events?

P.S. I am using Variables.

Second half.

tip, try having one variable (c for choice?), then set it based on what you want (cake/beer/hamburger, or 1/2/3) and check that, instead of checking different varaibles
to go with that, you don't need to reset the variable after, which is giving you problems
make the delays longer, as the variables are reseting before being checked, as there is a 33 delay after each event (calling the onvariabletrue/false)

Like this? If I am wrong can you please give me an example, I don't quite understand what you are saying.

Second Half


<varlink:Beer_B:beer> is incorrect. It's supposed to be <varlink:Beer_B:1>. The part after the : is what to set the number of the variable before the : to.
« Last Edit: February 03, 2011, 11:52:54 PM by GenaralSkar »

<varlink:Beer_B:beer> is incorrect. It's supposed to be <varlink:Beer_B:1>. The part after the : is what to set the variable before the : to.
You can set a variable as a string.