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;
}
What version of MySQL are you using? This looks like a very very old version of MySQL.
While we're trying to determine your MySQL version, please do get rid of the 'stock' keyword. Since you're using loadDumus() there is no need for the compiler to determine whether or not it should ignore the code if its being used or not. |