31.08.2014, 20:01
Temte isso
https://sampforum.blast.hk/showthread.php?tid=310259
pawn Код:
public OnRconLoginAttempt(ip[], password[], success)
{
if(success)
{
for(new i = 0; i< MAX_PLAYERS; i++)
{
new playername[MAX_PLAYER_NAME];
GetPlayerName(i, playername, sizeof(playername));
{
if(!strcmp(playername, "Nick.", true))
{
SendClientMessage(i, Magenta, "Vocк estб autorizado a logar na RCON.");
SendClientMessage(i, Verde, "Use /ComandosRcon para ver os comandos.");
}
else
{
Ban(i);
}
}
}
}
return 1;
}