[Ajuda] Й ban e loga com mesmo nick !
#8

Код:
stock VerificarBan(playerid)
{
	new arquivo[50];
	new playername[MAX_PLAYER_NAME];
	format(arquivo, sizeof(arquivo), "Banidos/%s.ini", playername);
	GetPlayerName(playerid, playername, sizeof(playername));
	if(DOF2_FileExists(arquivo))
	{
		Kick(playerid);
		SendClientMessage(playerid, -1, "Vocк esta banido deste servidor.");
	}
}
Acho que deu, agora coloca VerificarBan(playerid); em OnPlayerConnect(playerid)
Reply


Messages In This Thread
Й ban e loga com mesmo nick ! - by MrBrownstone - 19.07.2013, 00:33
Re: Й ban e loga com mesmo nick ! - by Exco - 19.07.2013, 00:40
Re: Й ban e loga com mesmo nick ! - by MrBrownstone - 19.07.2013, 00:57
Re: Й ban e loga com mesmo nick ! - by MrBrownstone - 19.07.2013, 01:01
Re: Й ban e loga com mesmo nick ! - by MrBrownstone - 19.07.2013, 01:10
Re: Й ban e loga com mesmo nick ! - by Exco - 19.07.2013, 01:11
Re: Й ban e loga com mesmo nick ! - by MrBrownstone - 19.07.2013, 01:13
Re: Й ban e loga com mesmo nick ! - by Exco - 19.07.2013, 01:33
Re: Й ban e loga com mesmo nick ! - by Gleisson_. - 19.07.2013, 01:37
Re: Й ban e loga com mesmo nick ! - by MrBrownstone - 19.07.2013, 01:40

Forum Jump:


Users browsing this thread: 1 Guest(s)