09.12.2012, 11:52
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.
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.