20.04.2015, 10:44
Hey, so I decided to try an update the SQL plugin..
But keeps spamming me with this warning
Anyone have ANY clue how to fix this..
But keeps spamming me with this warning
Код:
warning 224: indeterminate array size in "sizeof" expres sion (symbol "max_len")
Код:
ValidateLogin(playerid, inputtext[]) { query[0] = 0;//[256]; mysql_escape_string(inputtext, inputtext); if(GetPVarInt(playerid, "SecurePass")) { format(query, sizeof(query),""); } else { format(query, sizeof(query),""); } mysql_function_query(g_mysql_handle, query, true, "OnLoginAttempt", "d", playerid); } case EAccountDialog_EnterPassword: { if(!response) { SendClientMessage(playerid, X11_RED2, "Incorrect answer, try again."); SetTimerEx("TimedKick",1000, false, "d",playerid); } else { ValidateLogin(playerid, inputtext); } }