I've encountered a problem with latest MySQL r41-4 release. I'm getting invalid connection handle '1' error.
code : https://pastebin.com/wTc7BbtD
For example, if the non registered player enters server for the first time:
public PlayerExists(playerid)
{
if (cache_num_rows() < 1)
{
SCM(playerid,COLOR_RED, "NOT REGISTERED");
}
else
{
SCM(playerid,COLOR_GREEN, "REGISTERED");
}
}
This function works fine
But if any other (or same) non registered player enters the server that public doesn't work, and I'm getting invalid connection handle '1' error.
I've been trying to understand what I'm doing wrong for hours. Hope anyone can help me.