forward OnSEnterLoad();
public OnSEnterLoad()
{
for (new i, j = cache_get_row_count(); i != j; i++) // loops through the rows
{
sEnterID[i] = cache_get_row_int(i, 0);
sEnter_x[i] = cache_get_row_float(i, 1);
sEnter_y[i] = cache_get_row_float(i, 2);
sEnter_z[i] = cache_get_row_float(i, 3);
sExit_x[i] = cache_get_row_float(i, 4);
sExit_y[i] = cache_get_row_float(i, 5);
sExit_z[i] = cache_get_row_float(i, 6);
Int[i] = cache_get_row_int(i, 7);
Int2[i] = cache_get_row_int(i, ;
Wirt[i] = cache_get_row_int(i, 9);
Wirt2[i] = cache_get_row_int(i, 10);
Name[i] = cache_get_row_int(i, 11);
UpdateSEnterText( i );
Itter_Add(sEnters,i);
}
}
Error line - sEnterID[i] = cache_get_row_int(i, 0);
error 028: invalid subscript (not an array or too many subscripts): "sEnterID"
warning 215: expression has no effect
expected token: ";", but found "]"
error 029: invalid expression, assumed zero
invalid subscript (not an array or too many subscripts):
Aucun commentaire:
Enregistrer un commentaire