26.12.2011, 07:38
(
Последний раз редактировалось Universal; 26.12.2011 в 10:07.
)
FIXED it by myself. Thanks for help.
You probably need to increase the size of the following defines:
For example, if you create a house and its ID is 504, but if MAX_HOUSES is 503, every house up to 503 will be checked, but anything higher will just be ignored. |
Try increase it to a higher amount, as your IDs might exceed the MAX_* defines, but you may have less than the define.
|
LoadBizzes()
{
format(Sql, sizeof(Sql), "SELECT * FROM bizz");
mysql_query(Sql);
mysql_store_result();
new
id = 0;
if(mysql_num_rows())
{
while(mysql_retrieve_row())
{
...
id++;
Bizzes = id;