[Ajuda] OnRconLoginAttempt
#6

Antes de postar este tуpico eu tinha tentado isso:

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
	if(!success)
	{
	        new IPEnd[16], stringban[100];
		for(new i; i < P_MaxPlayersSlots; i++)
		{
		    if(!IsPlayerConnected(i))
			GetPlayerIp(i, IPEnd, sizeof(IPEnd));
			if(!strcmp(ip, IPEnd, false))
			{
			    new Name[MAX_PLAYER_NAME];
			    format(stringban, sizeof(stringban), "RCON - O Jogador %s tentou logar na RCON do Servidor e foi Banido.", GetPlayerName(i, Name, sizeof(Name)));
Sу que aн o Nome buga e dб isso: 3BDD0B522... algo que parece ser um hash(sendo que nem usei nada de hash aн) e quando eu tento isso:

Код:
public OnRconLoginAttempt(ip[], password[], success)
{
	if(!success)
	{
	    new IPEnd[16], stringban[100], Name[MAX_PLAYER_NAME];
		for(new i; i < P_MaxPlayersSlots; i++)
		{
		    if(!IsPlayerConnected(i))
			GetPlayerIp(i, IPEnd, sizeof(IPEnd));
			if(!strcmp(ip, IPEnd, false))
			{
			    format(stringban, sizeof(stringban), "RCON - O Jogador %s tentou logar na RCON do Servidor e foi Banido.", Name);
O nome nгo aparece.
Reply


Messages In This Thread
OnRconLoginAttempt - by Mackdaddy - 29.01.2015, 00:20
Re: OnRconLoginAttempt - by WLSF - 29.01.2015, 00:22
Re: OnRconLoginAttempt - by Mackdaddy - 29.01.2015, 00:26
Re: OnRconLoginAttempt - by WLSF - 29.01.2015, 00:33
Re: OnRconLoginAttempt - by .Skool_. - 29.01.2015, 00:35
Re: OnRconLoginAttempt - by Mackdaddy - 29.01.2015, 00:41
Re: OnRconLoginAttempt - by .Skool_. - 29.01.2015, 00:46
Re: OnRconLoginAttempt - by WLSF - 29.01.2015, 00:47
Re: OnRconLoginAttempt - by Mackdaddy - 29.01.2015, 00:54
Re: OnRconLoginAttempt - by Mackdaddy - 29.01.2015, 01:00

Forum Jump:


Users browsing this thread: 1 Guest(s)