04.11.2013, 13:01
Код:
new pArea [4][3] =
{
{1323.5114,10.8203,158.5349},
{1323.1530,10.8203,267.2626},
{1342.7168,10.8203,357.8168},
{1343.3971,10.8203,90.2510},
};
new pArea [4][3] =
{
{1323.5114,10.8203,158.5349},
{1323.1530,10.8203,267.2626},
{1342.7168,10.8203,357.8168},
{1343.3971,10.8203,90.2510},
};
error 001: expected token: ";", but found "{"
error 010: invalid function or declaration
new pArea [4][3] =
{
{1323.5114,10.8203,158.5349},
{1323.1530,10.8203,267.2626},
{1342.7168,10.8203,357.8168},
{1343.3971,10.8203,90.2510}, // LINE 12
}; // LINE 13
array_name[amount]
new my_arr[5];
my_arr[0] // First
my_arr[1] // Second
my_arr[2] // Third
my_arr[3] // Fourth
my_arr[4] // Fifth
new Float:pArea [3][2] =
{
{1323.5114,10.8203,158.5349},
{1323.1530,10.8203,267.2626},
{1342.7168,10.8203,357.8168},
{1343.3971,10.8203,90.2510}, // 12
}
(12) : error 001: expected token: ";", but found "{"
|
Код:
new Float:pArea [3][2] =
{
{1323.5114,10.8203,158.5349},
{1323.1530,10.8203,267.2626},
{1342.7168,10.8203,357.8168},
{1343.3971,10.8203,90.2510}, // 12
}
Код:
(12) : error 001: expected token: ";", but found "{"
|
static const Float:pArea[][] =
{
{1323.5114, 10.8203, 158.5349},
{1323.1530, 10.8203, 267.2626},
{1342.7168, 10.8203, 357.8168},
{1343.3971, 10.8203, 90.2510}
};