Is that a bug ? "cache_get_field_content"
#1

Hi,

Is this a bug ?

Код:
	cache_get_field_content(0, "RaisonBan", pInfo[playerid][RaisonBan], mysql, 129);
    printf("%s", pInfo[playerid][RaisonBan]);
    pInfo[playerid][ID] = cache_get_row_int(0, 0);
    pInfo[playerid][Admin] = cache_get_row_int(0, 5);
    pInfo[playerid][VIP] = cache_get_row_int(0, 6); 
    pInfo[playerid][Argent] = cache_get_row_int(0, 7);
    pInfo[playerid][posX] = cache_get_row_float(0, 8);
    pInfo[playerid][posY] = cache_get_row_float(0, 9);
    pInfo[playerid][posZ] = cache_get_row_float(0, 10);
    pInfo[playerid][Interieur] = cache_get_row_int(0, 11);
    pInfo[playerid][World] = cache_get_row_int(0, 12);
    pInfo[playerid][Skin] = cache_get_row_int(0, 13);
    pInfo[playerid][Niveau] = cache_get_row_int(0, 14);
    pInfo[playerid][Bannis] = cache_get_row_int(0, 16);
    pInfo[playerid][Vie] = cache_get_row_float(0, 18);
    pInfo[playerid][Armure] = cache_get_row_float(0, 19);
    printf("%s", pInfo[playerid][RaisonBan]);
For the first printf it shows me the realy reason "vrabrohrvraoq"
But for the second printf, I don't know why, it only shows the first letter of the reason and it shows "v".


Do you know why and how could I solve this ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)