13.12.2014, 21:21
Hi, I'm trying to read a dini file but it gives off the error:
error 006: must be assigned to an array
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]; }