bool problem
#4

booleans are saved as integers in the database so when you retrieve the data, just convert it.

pawn Код:
mysql_get_field("Music1",tmp); KupljenePesme[playerid][0] = (!strval(tmp)) ? false : true;
Reply


Messages In This Thread
bool problem - by Sanady - 04.01.2014, 09:37
Re: bool problem - by Sanady - 04.01.2014, 09:49
Re: bool problem - by Sanady - 04.01.2014, 10:15
Re: bool problem - by Konstantinos - 04.01.2014, 10:20

Forum Jump:


Users browsing this thread: 1 Guest(s)