MYSQL BOOL variables.
#2

Well, you could do something like creating a column for that, and setting it to either 1 or 0 (1 being true, 0 being false) and then when a player connects, check if the field data is either 1 or 0, then set the bool.

There may be a better way to do this, but this was all I could think of.
Reply


Messages In This Thread
MYSQL BOOL variables. - by budelis - 03.11.2012, 09:59
Re: MYSQL BOOL variables. - by DBan - 03.11.2012, 10:07

Forum Jump:


Users browsing this thread: 1 Guest(s)