error 033: array must be indexed (variable "igrac")
error 033: array must be indexed (variable "igrac")
Dio skripte:
YCMD:lastseen(playerid, params[], help)
{
new igrac, filestring,string;
if(sscanf(params, "s", igrac)) return SCM(playerid, -1, "Komanda | "ZUTA"/lastseen ");
format(filestring, sizeof(filestring), "Korisnici/%s.ini", igrac);
if(!fexist(filestring)) return SCM(playerid, -1, "[] "ZUTA"To Ime_Prezime nije pronadjeno u bazi podataka!");
new INI:File = INI_Open(filestring);
INI_WriteString(File,"LastSeen",PlayerInfo);
new d,m,yy,h,mi,s;
getdate(yy,m,d);
gettime(h,mi,s);
format(string, sizeof(string), ""CRVENA"%d/%d/%d at %d:%d:%d",d,m,yy,h,mi,s);
SCM(playerid,PlayerInfo,string);
return 1;
}Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
//Slika/video ingame problema(obavezno ako je ingame problem)://