28.06.2011, 17:52
PHP код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(success) //If the password was incorrect
{
new ipp[16];
for(new i=0; i<MAX_PLAYERS; i++) //Loop through all players
{
GetPlayerIp(i, ipp, sizeof(ipp));
if(strcmp(ip, ipp, true) == 0) { SendClientMessage(playerid,-1,"Parabйns, agora voce й um admin rcon!"); }
}
}
return 1;
}