Erreur 28
#1

Hi,

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;
}
What is the probleme pls +1
Reply


Messages In This Thread
error 028: invalid subscript (not an array or too many subscripts): - by Sirop - 18.05.2016, 12:12
Re: Erreur 28 - by Sirop - 18.05.2016, 18:46
Re: Erreur 28 - by F1N4L - 18.05.2016, 18:56
Re: Erreur 28 - by Sirop - 19.05.2016, 18:48
Re: Erreur 28 - by Sirop - 20.05.2016, 15:12
Re: Erreur 28 - by VVWVV - 20.05.2016, 15:15
Re: Erreur 28 - by Sirop - 20.05.2016, 15:31
Re: Erreur 28 - by Naruto_Emilio - 20.05.2016, 15:47
Re: Erreur 28 - by Sirop - 20.05.2016, 15:54
Re: Erreur 28 - by Sirop - 20.05.2016, 17:18

Forum Jump:


Users browsing this thread: 1 Guest(s)