19.06.2014, 11:30
Hey!
I am having some problems with MYSQL.
I get a bunch of the argument type mismatch errors:
BE WARNED, THERE IS A LOT OF LINES WITH ERRORS!
If someone could help me out, that would be awesome. I will give REP!
Line 649:
Line 1124:
Line 1139:
Line 1157:
Line 1172:
Line 2546:
Line 3526:
Line 3533:
Line 3651:
Line 3736:
Line 3774:
Line 3990:
Line 4038:
Line 4043:
Line 4048:
Line 4999:
Line 5004:
Line 5021:
Line 5026:
Line 5533:
Line 5535:
Line 5562:
Line 5567:
Line 5572:
Line 5578:
Line 5584:
Line 5616:
Sorry if this is a lot of errors, but if someone could come on Teamviewer and help me, that would be great too!
Thank you so much!
I am having some problems with MYSQL.
I get a bunch of the argument type mismatch errors:
BE WARNED, THERE IS A LOT OF LINES WITH ERRORS!
If someone could help me out, that would be awesome. I will give REP!
Line 649:
Код:
mysql_query(g_mysql_handle, "SELECT `motd`,`amotd`,`tax`,`jackpot`,`doublebonus` FROM `misc`", true, "OnLoadMOTD", "");
Код:
mysql_query(g_mysql_handle, dialogstr, true, "AccountLookupCallback", "ds",playerid,name);
Код:
mysql_query(g_mysql_handle, query, true, "BanDeleteCallback", "dds",playerid,1,name);
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "OnOfflineJail", "dsd",playerid,name,jailtime);
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "OnBanRetrieve", "d", playerid);
Код:
mysql_query(g_mysql_handle, query, true, "OnRangeBanRetrieve", "d", playerid);
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "CheckSetPhoneNumCB", "dd",playerid,phone_num);
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
decideBan(playerid) {
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
mysql_query(g_mysql_handle, query, true, "EmptyCallback", "");
Код:
format(query, sizeof(query), "SELECT `noteid`,`setter`.`username`,`seton`,`note` FROM `accountnotes` INNER JOIN `accounts` AS `setter` ON `setter`.`id` = `accountnotes`.`setby` WHERE `accountid` = %d",GetPVarInt(targetid, "AccountID")); mysql_query(g_mysql_handle, query, true, "OnRecieveNotes", "dd",playerid,targetid);
Код:
format(query, sizeof(query), "INSERT INTO `accountnotes` SET `note` = \"%s\",`accountid` = %d,`setby` = %d",note,GetPVarInt(playa, "AccountID"), GetPVarInt(playerid, "AccountID")); mysql_query(g_mysql_handle, query, true, "OnAddNote", "dd",playerid, playa);
Thank you so much!