Instead of 1 or 0; how to make it say yes or no
#5

The only way is what tyler posted.
You set a variable to 0/1 and if it's 1, you set the string to 'yes', otherwise to 'no'. For example, on saving..
if he is registed (that means 1), then save it on the file as 'yes' (string) instead of 1. When you load, if the text is 'yes', set the variable to 1, otherwise 0.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)