help - command
#1

Код:
 error 017: undefined symbol "ini_Open"
 error 017: undefined symbol "ini_Get"
 error 017: undefined symbol "ini_Close"
this is command


Код:
//-------------------------------------[online]-----------------------------------------------------------------
	if(strcmp(cmd, "/online", true) == 0||strcmp(cmd, "/lastonline", true) == 0)
	{
		if(PlayerInfo[playerid][pAdmin] < 1)
		{
			SendClientMessage(playerid,COLOR_RED,"You are not autorized!");
			return 1;
		}
		new akk[256],ssss[256];
		akk = strtok(cmdtext, idx);
		if(!strlen(akk))
		{
			SendClientMessage(playerid,COLOR_RED, "[INFO] {FFFFFF} /online [nume]");
			return 1;
		}
		format(string,sizeof(string),"users/%s.ini",akk);
		if(!fexist(string))
		{
			SendClientMessage(playerid,COLOR_RED,"Cont tastat gresit/sau nu exista in baza de date!");
			return 1;
		}
		else
		{
		    new stringi[256];
			new File = ini_Open(string);
			ini_Get(File,"Online",stringi);
		 	ini_Close(File);
			format(ssss,sizeof(ssss)," Ultima logare a lui %s a fost pe %s",akk,stringi);
			SendClientMessage(playerid,COLOR_LIGHTBLUE,ssss);
		}
		return 1;
	}
Reply


Messages In This Thread
help - command - by Taykiro - 15.04.2013, 18:30
Re: help - command - by rhds - 15.04.2013, 18:46
Re: help - command - by DaTa[X] - 15.04.2013, 18:48
Re: help - command - by Taykiro - 15.04.2013, 18:56
Re: help - command - by rhds - 15.04.2013, 19:09
Re: help - command - by Taykiro - 15.04.2013, 19:17
Re: help - command - by horsemeat - 15.04.2013, 19:26
Re: help - command - by Taykiro - 16.04.2013, 03:41

Forum Jump:


Users browsing this thread: 1 Guest(s)