Help Me[REP+]
#1

Guys I'm Making 3dtextlabel System With Dini Why It Keep Say Label Is Not Exist With This Command Even It Is Exist?
Quote:

CMD:rlabels(playerid,params[])
{
if(unformat(params, "i",params)) return SendClientMessage(playerid, 0xFF0000FF, "{FF0000}USAGE:/rlabels [ID]");
if(IsPlayerAdmin(playerid))
{
new string[64],file[128];
for(new i; i < MAX_LABELS; i++)
{
format(file,sizeof(file),Label_Save,i);
if(!fexist(file))
{
LabelID = i;
break;
}
}
if(dini_Exists(file))
{
dini_Remove(file);
format(string,sizeof(string),"Label "lyellow2"%i "lgreen"removed!", LabelID);
SendClientMessage(playerid,lightgreen,string);
}
else if(!dini_Exists(file))
{
SendClientMessage(playerid, lightgreen, ""lred"Label Id Is Not Exist!");
}
}
else return 0;
return 1;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)