Also dass heißt, dass dies falsch ist?
forward OnFraktionLaden();
public OnFraktionLaden()
{
new rows, fields;
cache_get_data(rows, fields);
for(new i = 0; i < rows; i++)
{
cache_get_field_content(i,"fid", fInfo[i][f_id],Handle);
cache_get_field_content(i,"fname", fInfo[i][f_name],Handle,32);
//Cords
cache_get_row_float(i,"f_x", fInfo[i][f_x],Handle);
cache_get_field_content(i,"f_interoir", fInfo[i][f_interior],Handle);
cache_get_field_content(i,"f_world", fInfo[i][f_world],Handle);
cache_get_field_content(i,"f_color", fInfo[i][f_color],Handle);
cache_get_field_content(i,"f_kasse", fInfo[i][f_kasse],Handle);
//Rangnamen
cache_get_field_content(i,"f_rang1", fInfo[i][f_rang1],Handle);
cache_get_field_content(i,"f_rang2", fInfo[i][f_rang2],Handle);
cache_get_field_content(i,"f_rang3", fInfo[i][f_rang3],Handle);
cache_get_field_content(i,"f_rang4", fInfo[i][f_rang4],Handle);
cache_get_field_content(i,"f_rang5", fInfo[i][f_rang5],Handle);
cache_get_field_content(i,"f_rang6", fInfo[i][f_rang6],Handle);
printf("Fraktionen geladen");
}
return 1;
}