21.07.2011, 00:12
There are the errors :
Here's the script :
Line 26131 :
I would appericate any help, thank you.
PHP код:
(26131) : error 008: must be a constant expression; assumed zero
(26131) : error 009: invalid array size (negative, zero or out of bounds)
(26131) : error 036: empty statement
(26131) : fatal error 107: too many error messages on one line
Код:
for(new h=0; h < MAX_HOUSES; h++) { new Text3D:hLabelID[h]; hLabelID[h] = CreateDynamic3DTextLabel(labelString, ADMIN_GREEN, Houses[NewHouseID][hExteriorX],Houses[NewHouseID][hExteriorY],Houses[NewHouseID][hExteriorZ],30.0,0,1); new labelString[96]; format(labelString, sizeof(labelString), "House %d\n Price: %d", NewHouseID, Houses[h][HousePrice]) }
Код:
new Text3D:hLabelID[h];