1. Es werden nur 3. Fraktionen geladen...
Hier der Log
Code
[11:36:58] |>MySQL<| - Es konnte Verbindung zur der Datenbank samp aufgebaut werden
[11:36:58] Number of vehicle models: 0
[11:36:58] Fraktion ivilist wurde geladen!
[11:36:58] Fraktion an Andreas Police Department wurde geladen!
[11:36:58] Fraktion ederal Bureau of Investigation wurde geladen!
[11:37:24] [connection] 127.0.0.1:56593 requests connection cookie.
[11:37:25] [connection] incoming connection: 127.0.0.1:56593 id: 0
[11:37:25] [join] Buzzy has joined the server (0:127.0.0.1)
[11:37:33] Fraktion: 0
[11:37:33] Name:
[11:37:33] Rang:
[11:37:33] ID: 16777216
[11:37:38] [part] Buzzy has left the server (0:1)
Alles anzeigen
Mein Fraktionladen public:
Code
forward OnFraktionLaden();
public OnFraktionLaden()
{
new rows, fields;
cache_get_data(rows, fields);
for(new i = 0; i < rows; i++)
{
fInfo[i][f_id] = cache_get_field_content_int(i, "fid", Handle);
fInfo[i][f_name] = cache_get_field_content(i, "fname", fInfo[i][f_name], Handle, 128);
//Cords
fInfo[i][f_x] = cache_get_field_content_float(i,"f_x", Handle);
fInfo[i][f_y] = cache_get_field_content_float(i,"f_y", Handle);
fInfo[i][f_z] = cache_get_field_content_float(i,"f_z", Handle);
fInfo[i][f_r] = cache_get_field_content_float(i,"f_r", Handle);
fInfo[i][f_interior] = cache_get_field_content_int(i, "f_interior", Handle);
fInfo[i][f_world] = cache_get_field_content_int(i, "f_world", Handle);
fInfo[i][f_color] = cache_get_field_content_int(i, "f_color", Handle);
fInfo[i][f_kasse] = cache_get_field_content_int(i, "f_kasse", Handle);
//Rangnamen
fInfo[i][f_rang1] = cache_get_field_content(i, "f_rang1", fInfo[i][f_rang1], Handle, 128);
fInfo[i][f_rang2] = cache_get_field_content(i, "f_rang2", fInfo[i][f_rang2], Handle, 128);
fInfo[i][f_rang3] = cache_get_field_content(i, "f_rang3", fInfo[i][f_rang3], Handle, 128);
fInfo[i][f_rang4] = cache_get_field_content(i, "f_rang4", fInfo[i][f_rang4], Handle, 128);
fInfo[i][f_rang5] = cache_get_field_content(i, "f_rang5", fInfo[i][f_rang5], Handle, 128);
fInfo[i][f_rang6] = cache_get_field_content(i, "f_rang6", fInfo[i][f_rang6], Handle, 128);
printf("Fraktion %s wurde geladen!", fInfo[i][f_name]);
}
return 1;
}
Alles anzeigen

