#1

Hi, I'm trying to read a dini file but it gives off the error:

error 006: must be assigned to an array


Код:
public CheckAdminLevel(playerid)
{
	new filestring[60];
        format(filestring,sizeof(filestring),"%s.ini",playerid);
	if(fexist(filestring))
	{
		adminlevel[playerid] = dini_Get(filestring,"AdminLevel"); // << This line has the error.
	}
	return adminlevel[playerid];
}
Reply


Messages In This Thread
Dini - by jackx3rx - 13.12.2014, 21:21
Re: Dini - by Schneider - 14.12.2014, 03:31

Forum Jump:


Users browsing this thread: 1 Guest(s)