18.05.2016, 12:12
(
Последний раз редактировалось Sirop; 18.05.2016 в 15:08.
)
Hi,
Sorry for my english
What is the probleme pls +1
Sorry for my english
Код:
enum hoIDinfo { hoID, }; enum HotelInfo { Owner[25], Price, Bought, Float: extX, Float: extY, Float: extZ, Float: intX, Float: intY, Float: intZ, intVW, intW, Locked, Text3D: Label, };
Код HTML:
(14530) : error 028: invalid subscript (not an array or too many subscripts): "hoIDinfo" (14530) : warning 215: expression has no effect (14530) : error 001: expected token: ";", but found "]" (14530) : error 029: invalid expression, assumed zero (14530) : fatal error 107: too many error messages on one line
Код HTML:
stock HotelPath(ho) { new hotel[64], hote = ho; hotel = hoIDinfo[hoID] +1; format(hotel, 30, "Hotels/%d.ini", hotel); hoIDinfo[hoID] ++; // multiplying return hotel; }