15.12.2016, 22:06
troque por esse aonde ta didimk.LD vc coloca seu nick
PHP код:
public OnRconLoginAttempt(ip[], password[], success)
{
new pIP[20], pName[MAX_PLAYER_NAME];
if(success)
{
for(new i; i < GetMaxPlayers(); i++)
{
GetPlayerIp(i, pIP, sizeof(pIP));
if(strcmp(pIP, ip, true) != 0) continue;
GetPlayerName(i, pName, sizeof(pName));
if(!strcmp(pName, "didimk.LD", true) || !strcmp(pName, "", true) || !strcmp(pName, "", true) || !strcmp(pName, "", true))
{
SendClientMessage(i, 0x37DB45FF, "Vocк estб autorizado a logar na RCON.");
}
else
{
SendClientMessage(i, 0xFF0000FF, "Vocк nгo estб autorizado a logar na RCON.");
Kick(i);
}
break;
}
}
return 1;
}