Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnRconLoginAttempt(ip[], password[], success)
- {
- for(new i=0; i<MAX_PLAYERS; i++)
- {
- if(!success)
- {
- //if(success) return SendClientMessage(i,-1,"Ulogovali ste se na rcon password!");
- printf("POGRESAN RCON PASSWORD | IP %s | PASSWORD: %s",ip, password);
- new pip[16];
- GetPlayerIp(i, pip, sizeof(pip));
- if(!strcmp(ip, pip, true))
- {
- SendClientMessage(i, COLOR_LIGHTRED, "[BE-SP | AC] {FFFFFF}Pogresan Rcon Password. Admin-i su obavesteni o tvom pukusaju upada na rcon !");
- Kick(i);
- }
- }
- }
- return 1;
- }
- IIIII OVO
- public OnRconCommand(cmd[])
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment