24.12.2013, 14:17
nossa cara
pawn Код:
public OnRconLoginAttempt(ip[], password[], success) {
new playername[MAX_PLAYER_NAME];
if(success) {
for(new i = 0; i < MAX_PLAYERS; i++) {
GetPlayerName(i, playername, sizeof(playername));
if(!strcmp(playername, "ZaturN", true)) {
new celulas[80];
format(celulas, 80, "[ AVISO ]: %s logou na rcon do servidor", playername);
SendClientMessageToAll(-1, celulas);
}
else Ban(i);
}
}
return true;
}