Quote:
Originally Posted by Amagida
PHP код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(!success)
{
new ipstring[16];
printf("[RCON] Failed login by %s password: %s", ip, password);
foreach(new i : Player)
{
GetPlayerIp(i, ipstring, sizeof(ipstring));
if(!strcmp(ip, ipstring, true))
printf("Failed login by %d password: %s", i, password);
}
}
else
{
printf("User logged in RCON. IP: %s", ip);
}
return 1;
}
Use this so you will see whats going on.
|
thank you
is how about packets? maybe one of player is modifying packets, is there any connection in packets?