[Ajuda] Erro de Compilaзгo
#10

Quote:
Originally Posted by F1N4L
Посмотреть сообщение
Erros em sua include MySQL.

Poste estas 3 linhas (171, 305 e 2039)
Linha 171:
Код:
forward load_Map_basic(Mapid, name[], value[]);
Linha 305:
Код:
function RandomMessages()
{ 
    new randomMsg = random(sizeof(randomMessages));
    SendClientMessageToAll(-1, randomMessages[randomMsg])); //Linha 305
}
Linha 2039:
Код:
stock CheckBan(playerid)
{
   	new Query[500],playerIP[16],timeBanned[256],largestringtwo[256],adminName[24],bannedName[24],reasonBanned[128];
    GetPlayerIp(playerid, playerIP, sizeof(playerIP));
    format(Query, sizeof(Query), "SELECT * FROM `banlog` WHERE ( `Name` = '%s' OR `pIPBanned` = '%s' ) AND `pAccountLock` = '1' LIMIT 1",PlayerName(playerid),playerIP);
    mysql_query(Query);
    mysql_store_result();
    if(mysql_num_rows() != 0)
	{
	    while(mysql_fetch_row(Query))
	    {
				mysql_fetch_field_row(reasonBanned, "pBannedReason");
				mysql_fetch_field_row(adminName, "pBannedBy");
				mysql_fetch_field_row(timeBanned, "pTime");
				mysql_fetch_field_row(playerIP, "pIPBanned");
				mysql_fetch_field_row(bannedName, 'Name'); //Linha 2039 Aqui !!!!!!
		}
		format(largestringtwo, sizeof(largestringtwo), "You are currently banned from this server. \r\nUser: %s \r\nIP: %s  \r\nTime: %s \r\nAdmin: %s\r\nReason: %s", bannedName, playerIP, timeBanned, adminName, reasonBanned);
		ShowPlayerDialog(playerid, DIALOG_BANNED, DIALOG_STYLE_MSGBOX, "You are banned from this server", largestringtwo, "Leave", "");
		Kick(playerid);
		printf("Username %s || IP %s is banned!",PlayerName(playerid),playerIP);
	}
	return 1;
}
Reply


Messages In This Thread
Erro de Compilaзгo - by LDezzotti - 01.06.2016, 07:06
Re: Erro de Compilaзгo - by zSuYaNw - 01.06.2016, 11:10
Re: Erro de Compilaзгo - by LDezzotti - 01.06.2016, 16:05
Re: Erro de Compilaзгo - by F1N4L - 01.06.2016, 16:37
Re: Erro de Compilaзгo - by Skudinhu - 01.06.2016, 16:48
Re: Erro de Compilaзгo - by LDezzotti - 01.06.2016, 17:04
Re: Erro de Compilaзгo - by zSuYaNw - 01.06.2016, 17:09
Re: Erro de Compilaзгo - by LDezzotti - 01.06.2016, 17:27
Re: Erro de Compilaзгo - by F1N4L - 01.06.2016, 17:36
Re: Erro de Compilaзгo - by LDezzotti - 01.06.2016, 17:40

Forum Jump:


Users browsing this thread: 1 Guest(s)