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
#2

INI_Open, INI_Get, INI_Close?
Reply
#3

make sure you have Dini or Dudb included
Reply
#4

Quote:
Originally Posted by DaTa[X]
Посмотреть сообщение
make sure you have Dini or Dudb included
nothing
Reply
#5

Quote:
Originally Posted by Taykiro
Посмотреть сообщение
nothing
Did you try to capital this "ini" to "INI"?
Reply
#6

Quote:
Originally Posted by rhds
Посмотреть сообщение
Did you try to capital this "ini" to "INI"?
nothing ... use iniOpen and dont't work
sorry for my english
Reply
#7

Quote:
Originally Posted by Taykiro
Посмотреть сообщение
Код:
 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;
	}
make sure you got
Код:
#include <y_ini>
Reply
#8

Quote:
Originally Posted by horsemeat
Посмотреть сообщение
make sure you got
Код:
#include <y_ini>
nothing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)