16.09.2017, 09:51
You guys have problems in your sql syntax cuz you forget the apostrophes
To not get errors anymore, try executing code in your phpmyadmin console before pasting it into your samp code
Код:
stock LoadHouses() { mysql_function_query(g_SQL_handle, "SELECT `int_name`,`intx`,`inty`,`intz`,`inta`,`cpx`,`cpy`,`cpz`,`interior`,`value` FROM `interiors`", true, "LoadHouseInteriorData", ""); mysql_function_query(g_SQL_handle, "SELECT `house_id`,`hname`,`howner`,`hlocation`,`hpass`,`x`,`y`,`z`,`a`,`cpx`,`cpy`,`cpz`,`hvalue`,`hstorage`,`hint`,`hprivacy`,`hforsale` FROM `houses` ORDER BY `house_id`", true, "LoadHouseData", ""); }