retrieving data MySQL R39
#8

How about this?
Код:
forward LoadHouses();
public LoadHouses()
{
    	new rows = cache_get_row_count();
    	for(new i = 0; i < rows; i++)
	    {
	    
	 	hInfo[i][HouseEX] = cache_get_field_content_float(0, "HouseEX");
 		hInfo[i][HouseEY] = cache_get_field_content_float(0, "HouseEY");
		hInfo[i][HouseEZ] = cache_get_field_content_float(0, "HouseEZ");
		cache_get_field_content_int(0, "HouseID", hInfo[i][HouseID]);
		hInfo[i][HouseCP] = CreateDynamicCP(hInfo[i][HouseEX], hInfo[i][HouseEZ], hInfo[i][HouseEZ], 1.5, .worldid = 0, .interiorid = 0, .streamdistance = 20.0);
		}

}

Код:
mysql_tquery(dbHandle, "SELECT * FROM `houses`", "LoadHouses", "");
Reply


Messages In This Thread
retrieving data MySQL R39 - by div - 03.07.2018, 13:13
Re: retrieving data MySQL R39 - by Calisthenics - 03.07.2018, 13:47
Re: retrieving data MySQL R39 - by div - 03.07.2018, 14:02
Re: retrieving data MySQL R39 - by Calisthenics - 03.07.2018, 14:04
Re: retrieving data MySQL R39 - by div - 03.07.2018, 14:20
Re: retrieving data MySQL R39 - by CodeStyle175 - 03.07.2018, 14:25
Re: retrieving data MySQL R39 - by div - 03.07.2018, 14:26
Re: retrieving data MySQL R39 - by div - 03.07.2018, 14:39
Re: retrieving data MySQL R39 - by div - 03.07.2018, 16:00
Re: retrieving data MySQL R39 - by Calisthenics - 03.07.2018, 16:37

Forum Jump:


Users browsing this thread: 1 Guest(s)