Posts: 42
Threads: 9
Joined: Sep 2012
Reputation:
0
Hey guys, I need some help, I'm trying to fetch boolean using MySQL r7.
Is it possible?
Btw, I searched and I asked on BlueG topic and I didn't find any answer.
Posts: 1,905
Threads: 63
Joined: Oct 2011
Reputation:
0
Don't know if it's possible, but you can just use 1 or 0 with a tinyint as the data type.
Posts: 42
Threads: 9
Joined: Sep 2012
Reputation:
0
The point is, I'm using y_cmd, and I want to give a permission to someone use this command.
Command_SetPlayerNamed("command", playerid, true);
how should I do that using MySQL?
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
1 is true and 0 is false. I don't see the problem. If it complains about tag mismatch, then override the tag with bool:.