Erreur 28
#3

This is incorrect!

hoIDinfo = Enum
[hoID] = Value of enum

Код:
enum hoIDinfo { hoID }; // enum
new Variable[hoIDinfo]; // variable
Код:
stock HotelPath(ho)
{
	new hotel[64], hote = ho;

	hotel = Variable[hoID] +1;

	format(hotel, 30, "Hotels/%d.ini", hotel);
	Variable[hoID] ++; // multiplying

	return hotel;
}
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)