//EDIT
Wie sieht die Variable/Funktion denn aus?
was genau brauchst du ?
enum fDataEnum
{
fraksql,
frakname[50],
frakfarbe[25],
interior,
vwelt,
Float:sposx,
Float:sposy,
Float:sposz,
Float:sposa,
Float:aposx,
Float:aposy,
Float:aposz,
Float:eposx,
Float:eposy,
Float:eposz,
frakrank1[25],
frakrank2[25],
frakrank3[25],
frakrank4[25],
frakrank5[25],
frakrank6[25],
};
new FrakInfo[MAX_FRAKTIONEN][fDataEnum];
forward LoadFrakInfo();
public LoadFrakInfo()
{
new rows;
cache_get_row_count(rows);
print("MYSQL: Fraktionen werden Geladen.");
for(new i; i<rows; i++)
{
cache_get_value_name_int(i, "frakid", FrakInfo[i][fraksql]);
cache_get_value_name(i, "frakname", FrakInfo[i][frakname],50);
cache_get_value_name_int(i, "interior", FrakInfo[i][interior]);
cache_get_value_name_int(i, "vwelt", FrakInfo[i][vwelt]);
cache_get_value_name(i, "frakfarbe", FrakInfo[i][frakfarbe],25);
cache_get_value_name(i, "frakrank1", FrakInfo[i][frakrank1],25);
cache_get_value_name(i, "frakrank2", FrakInfo[i][frakrank2],25);
cache_get_value_name(i, "frakrank3", FrakInfo[i][frakrank3],25);
cache_get_value_name(i, "frakrank4", FrakInfo[i][frakrank4],25);
cache_get_value_name(i, "frakrank5", FrakInfo[i][frakrank5],25);
cache_get_value_name(i, "frakrank6", FrakInfo[i][frakrank6],25);
cache_get_value_name_float(i, "sposx", FrakInfo[i][sposx]);
cache_get_value_name_float(i, "sposy", FrakInfo[i][sposy]);
cache_get_value_name_float(i, "sposz", FrakInfo[i][sposz]);
cache_get_value_name_float(i, "sposa", FrakInfo[i][sposa]);
cache_get_value_name_float(i, "aposx", FrakInfo[i][aposx]);
cache_get_value_name_float(i, "aposy", FrakInfo[i][aposy]);
cache_get_value_name_float(i, "aposz", FrakInfo[i][aposz]);
cache_get_value_name_float(i, "eposx", FrakInfo[i][eposx]);
cache_get_value_name_float(i, "eposy", FrakInfo[i][eposy]);
cache_get_value_name_float(i, "eposz", FrakInfo[i][eposz]);
printf("id:%i, name:%s,farbe:%s, int:%i, vwelt:%i, spx:%f, spy:%f, spz:%f, spa:%f, apx:%f, apy:%f, apz:%f, epx:%f, epy:%f, epz:%f",FrakInfo[i][fraksql],FrakInfo[i][frakname],FrakInfo[i][frakfarbe],FrakInfo[i][interior],FrakInfo[i][vwelt],FrakInfo[i][sposx],FrakInfo[i][sposy],FrakInfo[i][sposz],FrakInfo[i][sposa],FrakInfo[i][aposx],FrakInfo[i][aposy],FrakInfo[i][aposz],FrakInfo[i][eposx],FrakInfo[i][eposy],FrakInfo[i][eposz]);
new str[100];
format(str,sizeof(str), ""HTML_LIGHTBLUE">> %s <<\n"HTML_WHITE"Betreten mit "HTML_GREEN"'ENTER'",FrakInfo[i][frakname]);
CreateDynamic3DTextLabel(str,ORANGE,FrakInfo[i][eposx],FrakInfo[i][eposy],FrakInfo[i][eposz]+0.50,15,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,0);
format(str,sizeof(str), ""HTML_LIGHTBLUE">> %s <<\n"HTML_WHITE"Verlassen mit "HTML_GREEN"'ENTER'",FrakInfo[i][frakname]);
CreateDynamic3DTextLabel(str,ORANGE,FrakInfo[i][aposx],FrakInfo[i][aposy],FrakInfo[i][aposz]+0.50,15,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,FrakInfo[i][vwelt]);
CreateDynamicPickup(1318,1,FrakInfo[i][eposx],FrakInfo[i][eposy],FrakInfo[i][eposz],0);
CreateDynamicPickup(1318,1,FrakInfo[i][aposx],FrakInfo[i][aposy],FrakInfo[i][aposz],FrakInfo[i][vwelt]);
CreateDynamic3DTextLabel("Fraktionslager\n/Ausruesten\n/Frakbank",ORANGE,FrakInfo[i][sposx],FrakInfo[i][sposy]+0.50,FrakInfo[i][sposz],15,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,FrakInfo[i][vwelt]);
CreateDynamicPickup(1240,1,FrakInfo[i][sposx],FrakInfo[i][sposy]+0.50,FrakInfo[i][sposz],FrakInfo[i][vwelt]);
}
print("MYSQL: Fraktionen wurden Geladen.");
return 1;
}