24.01.2019, 20:08
Here is my array creation:
Using:
Erorr:
Please help me
Thanks!
PHP Code:
enum hInfo
{
Float: hExt[3],
...
}
new HouseInfo[300][hInfo];
PHP Code:
cache_get_value_name_float(i, "X", HouseInfo[i][hExt[0]]);
cache_get_value_name_float(i, "Y", HouseInfo[i][hExt[1]]);
cache_get_value_name_float(i, "Z", HouseInfo[i][hExt[2]]);
Quote:
error 028: invalid subscript (not an array or too many subscripts): "hExt" warning 215: expression has no effect error 001: expected token: ";", but found "]" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line |
Thanks!