- 0
Problema sbizz-uri si bizz-uri.Nu le citeste.
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Jimmi
Problema intalnita (descriere):Am trecut gm pe mysql r39-3 si nu mai citeste bizz-urile...
Ero(area / rile) / warning-(ul / urile):
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?:Da......
public LoadBizz() { new i, query[256], index; new Cache:result; mysql_format(Handle, query, sizeof(query), "SELECT * FROM `bizz` ORDER BY `bizz`.`ID` ASC"); result = mysql_query(Handle, query); while(cache_get_row_count(Handle)) { i++; BizzInfo[i][bOwned] = cache_get_field_content_int(i, "Owned"); cache_get_field_content(i, "Owner", BizzInfo[i][bOwner]); cache_get_field_content(i, "Message", BizzInfo[i][bMessage]); cache_get_field_content(i, "Extortion", BizzInfo[i][bExtortion]); BizzInfo[i][bEntranceX] = cache_get_field_content_float (i, "EntX"); BizzInfo[i][bEntranceY] = cache_get_field_content_float (i, "EntY"); BizzInfo[i][bEntranceZ] = cache_get_field_content_float (i, "EntZ"); BizzInfo[i][bExitX] = cache_get_field_content_float (i, "ExitX"); BizzInfo[i][bExitY] = cache_get_field_content_float (i, "ExitY"); BizzInfo[i][bExitZ] = cache_get_field_content_float (i, "ExitZ"); BizzInfo[i][bLevelNeeded] = cache_get_field_content_int(i, "Level"); BizzInfo[i][bBuyPrice] = cache_get_field_content_int(i, "Price"); BizzInfo[i][bEntranceCost] = cache_get_field_content_int(i, "EPrice"); BizzInfo[i][bTill] = cache_get_field_content_int(i, "Till"); BizzInfo[i][bLocked] = cache_get_field_content_int(i, "Locked"); BizzInfo[i][bInterior] = cache_get_field_content_int(i, "Interior"); BizzInfo[i][bProducts] = cache_get_field_content_int(i, "Products"); BizzInfo[i][bMaxProducts] = cache_get_field_content_int(i, "MaxProducts"); BizzInfo[i][bPriceProd] = cache_get_field_content_int(i, "ProductPrice"); } cache_delete(result, Handle); printf("[BIZZ]Au fost incarcate %d bizz-uri.Felicitari pentru reusita.[PG-ZONE.RO]", index); return 1; } public LoadSBizz() { new i, query[256], index; new Cache:result; mysql_format(Handle, query, sizeof(query), "SELECT * FROM `sbizz` ORDER BY `sbizz`.`ID` ASC"); result = mysql_query(Handle, query); while(cache_get_row_count(Handle)) { i++; SBizzInfo[i][sbOwned] = cache_get_field_content_int(i, "Owned"); cache_get_field_content(i, "Owner", SBizzInfo[i][sbOwner]); cache_get_field_content(i, "Message", SBizzInfo[i][sbMessage]); cache_get_field_content(i, "Extortion", SBizzInfo[i][sbExtortion]); SBizzInfo[i][sbEntranceX] = cache_get_field_content_float (i, "EntX"); SBizzInfo[i][sbEntranceY] = cache_get_field_content_float (i, "EntY"); SBizzInfo[i][sbEntranceZ] = cache_get_field_content_float (i, "EntZ"); SBizzInfo[i][sbExitX] = cache_get_field_content_float (i, "ExitX"); SBizzInfo[i][sbExitY] = cache_get_field_content_float (i, "ExitY"); SBizzInfo[i][sbExitZ] = cache_get_field_content_float (i, "ExitZ"); SBizzInfo[i][sbLevelNeeded] = cache_get_field_content_int(i, "Level"); SBizzInfo[i][sbBuyPrice] = cache_get_field_content_int(i, "Price"); SBizzInfo[i][sbEntranceCost] = cache_get_field_content_int(i, "EPrice"); SBizzInfo[i][sbTill] = cache_get_field_content_int(i, "Till"); SBizzInfo[i][sbLocked] = cache_get_field_content_int(i, "Locked"); SBizzInfo[i][sbInterior] = cache_get_field_content_int(i, "Interior"); SBizzInfo[i][sbProducts] = cache_get_field_content_int(i, "Products"); SBizzInfo[i][sbMaxProducts] = cache_get_field_content_int(i, "MaxProducts"); SBizzInfo[i][sbPriceProd] = cache_get_field_content_int(i, "ProductPrice"); } cache_delete(result, Handle); printf("[SBIZZ]Au fost incarcate %d sbizz-uri.Felicitari pentru reusita.[PG-ZONE.RO]", index); return 1; }0 answers to this question
Recommended Posts