#1

I found a system of biz-uri r5. Can someone help me to pass on the r39-3?
Код:
public LoadBizz()
{
	new biss;
    new result[100],index = 0;
    new query[256];
	format(query, sizeof(query), "SELECT * FROM `bizz` ORDER BY `bizz`.`ID` ASC");
	mysql_query(query);
    mysql_store_result();
    while(mysql_retrieve_row())
    {
        biss++;
		index++;
        new i = index;
        mysql_get_field("Owned", result);			BizzInfo[i][bOwned] = strval(result);//Scuze ca ma uit, dar nu am mai lucrat de ceva timp cu r6//no problem oricum n-aveam ce face
        mysql_get_field("Owner", result);			strmid(BizzInfo[i][bOwner], result, 0, 32, 32);
        mysql_get_field("Message", result);			strmid(BizzInfo[i][bMessage], result, 0, 60, 60);
        mysql_get_field("Extortion", result);       strmid(BizzInfo[i][bExtortion], result, 0, 32, 32);
        mysql_get_field("EntX", result);			BizzInfo[i][bEntranceX] = floatstr(result);
    	mysql_get_field("EntY", result);			BizzInfo[i][bEntranceY] = floatstr(result);
        mysql_get_field("EntZ", result);			BizzInfo[i][bEntranceZ] = floatstr(result);
        mysql_get_field("ExitX", result);			BizzInfo[i][bExitX] = floatstr(result);
    	mysql_get_field("ExitY", result);			BizzInfo[i][bExitY] = floatstr(result);
        mysql_get_field("ExitZ", result);			BizzInfo[i][bExitZ] = floatstr(result);
        mysql_get_field("Level", result);			BizzInfo[i][bLevelNeeded] = strval(result);
        mysql_get_field("Price", result);			BizzInfo[i][bBuyPrice] = strval(result);
        mysql_get_field("EPrice", result);			BizzInfo[i][bEntranceCost] = strval(result);
        mysql_get_field("Till", result);			BizzInfo[i][bTill] = strval(result);
        mysql_get_field("Locked", result);			BizzInfo[i][bLocked] = strval(result);
        mysql_get_field("Interior", result);		BizzInfo[i][bInterior] = strval(result);
        mysql_get_field("Products", result);		BizzInfo[i][bProducts] = strval(result);
        mysql_get_field("MaxProducts", result);		BizzInfo[i][bMaxProducts] = strval(result);
        mysql_get_field("ProductPrice", result);	BizzInfo[i][bPriceProd] = strval(result);
	}
	mysql_free_result();
	printf("[BIZZ]Au fost incarcate %d bizz-uri.Felicitari pentru reusita.[PG-ZONE.RO]", index);
	return 1;
}
Reply
#2

Ce incerci sa faci ?
Reply
#3

sa trec -pe r-39-3 desi nu ma pricep...si am erori acolo..
Reply
#4

Check out on my signature.You will see group system, it will be useful for you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)