10.03.2019, 17:24
PHP Code:
stock loadDumus()
{
new Query[255], vazonas;
format(Query, sizeof(Query), "SELECT * FROM `NamaiSuDum` WHERE `ID` = 1");
mysql_query(Query);
mysql_store_result();
mysql_fetch_field_row(vazonas, "VazonuUpgrade"); DumuInfo[vazonolvl] = vazonas;
if(DumuInfo[vazonolvl] == 1)
{
CreateDynamicObject(743,2367.1001000,-1193.9000000,1055.5000000,0.0000000,0.0000000,0.0000000); //object(kb_pot_1) (1)
CreateDynamicObject(743,2365.8000000,-1193.9000000,1055.5000000,0.0000000,0.0000000,0.0000000); //object(kb_pot_1) (6)
CreateDynamicObject(743,2364.3999000,-1193.9000000,1055.5000000,0.0000000,0.0000000,0.0000000); //object(kb_pot_1) (7)
CreateDynamicObject(743,2362.8999000,-1193.9000000,1055.5000000,0.0000000,0.0000000,0.0000000); //object(kb_pot_1) (8)
}
mysql_free_result();
return 1;
}
CMySQLHandler::FetchField(VazonuUpgrade) - You cannot call this function now. (Reason: Fields/Rows are empty.)
while the VazonuUpgrade field isn't empty