dankeschön, im nachhinein ist das logisch...
public Load_Fraktion()
{
new rows, string[256];
cache_get_row_count(rows);
for(new i=0; i<rows; i++)
{
cache_get_value_name_int(i, "fid", fInfo[i][fID]);
cache_get_value_name(i, "fname", fInfo[i][fName]);
cache_get_value_name_int(i, "ftyp", fInfo[i][fTyp]);
cache_get_value_name_int(i, "fkasse", fInfo[i][fKasse]);
cache_get_value_name_float(i, "fspawn_x", fInfo[i][fSpawn_X]);
cache_get_value_name_float(i, "fspawn_y", fInfo[i][fSpawn_Y]);
cache_get_value_name_float(i, "fspawn_z", fInfo[i][fSpawn_Z]);
cache_get_value_name_float(i, "fspawn_r", fInfo[i][fSpawn_R]);
cache_get_value_name_float(i, "ficon_x", fInfo[i][fIcon_X]);
cache_get_value_name_float(i, "ficon_y", fInfo[i][fIcon_Y]);
cache_get_value_name_float(i, "ficon_z", fInfo[i][fIcon_Z]);
cache_get_value_name_int(i, "member", fInfo[i][fMember]);
cache_get_value_name_int(i, "base", fInfo[i][fBase]);
DestroyPickup(fInfo[i][Pickup]);
Delete3DTextLabel(fInfo[i][Text]);
printf("Fraktion %i geladen", i);
if(fInfo[i][fBase] == 1){
format(string,sizeof(string), "%s\nHQ: geöffnet", fInfo[i][fName]);
fInfo[i][Text] = Create3DTextLabel(string, -1, fInfo[i][fIcon_X], fInfo[i][fIcon_Y], fInfo[i][fIcon_Z], 40.0, 0, 1);
}else if(fInfo[i][fBase] == 0){
format(string, sizeof(string), "%s\nHQ: geschlossen", fInfo[i][fName]);
fInfo[i][Text] = Create3DTextLabel(string, -1, fInfo[i][fIcon_X], fInfo[i][fIcon_Y], fInfo[i][fIcon_Z], 40.0, 0, 1);
}
fInfo[i][Pickup] = CreatePickup(1272, 1, fInfo[i][fIcon_X], fInfo[i][fIcon_Y], fInfo[i][fIcon_X]);
}
}
In diesem Code wird der Fraktionsname nicht angezeigt im String, kannst du mir sagen wieso?