R6 Update R40 - Problem
#1

Hi,how should i update these functions for r40

Код:
Function;
mysql_fetch_field_row
mysql_free_result
Код:
#if defined EV_SQL
	public OnQueryError(errorid, error[], callback[], query[], connectionHandle)
	{
  		print("===================================================================");
		printf("SQL Hatasi Olustu: %d", errorid);
		printf("%s", error);
		printf("Query: %s", query);
		print("===================================================================");
		return 1;
	}
#endif
Код:
if(cache_num_rows() > 0) {
	        new x, string[128], sutun[32];
   			while(cache_get_row_count()) {
			    mysql_fetch_field_row(string, "id"), x = strval(string);
				mysql_fetch_field_row(string, "sahip"), format(HouseInfo[x][ev_sahip], MAX_PLAYER_NAME, "%s", string);
				mysql_fetch_field_row(string, "isim"), format(HouseInfo[x][ev_isim], 32, "%s", string);
				mysql_fetch_field_row(string, "fiyat"), HouseInfo[x][ev_fiyat] = strval(string);
				mysql_fetch_field_row(string, "kilit"), HouseInfo[x][ev_kilit] = strval(string);
				mysql_fetch_field_row(string, "para"), HouseInfo[x][ev_para] = strval(string);
				mysql_fetch_field_row(string, "intid"), HouseInfo[x][ev_interior] = strval(string);
				mysql_fetch_field_row(string, "posinfo"), sscanf(string, "p<,>fff", HouseInfo[x][ev_x], HouseInfo[x][ev_y], HouseInfo[x][ev_z]);
Reply


Messages In This Thread
R6 Update R40 - Problem - by BrainDamaged - 23.04.2018, 06:28
Re: R6 Update R40 - Problem - by BrainDamaged - 23.04.2018, 07:28
Re: R6 Update R40 - Problem - by Slawi - 25.04.2018, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)