27.12.2016, 20:27
Errors:
Code:
PHP код:
D:\pawn-editor\include\VCData\Features\Taxi.pwn(22) : error 008: must be a constant expression; assumed zero
D:\pawn-editor\include\VCData\Features\Taxi.pwn(38) : error 008: must be a constant expression; assumed zero
D:\pawn-editor\include\VCData\Features\Taxi.pwn(55) : error 008: must be a constant expression; assumed zero
PHP код:
static m_TaxiLocations = 12;
new Float:TaxiLocations[m_TaxiLocations][] = { //22
{2000.6123, 1524.4371, 18.1923, 0.0000},
//etc
};
new TaxiPrices[m_TaxiLocations] = { //38
5800,
//etc
};
new TaxiNames[m_TaxiLocations][] = { //55
"The Ship",
//etc
};