Guest User

Untitled

a guest
Nov 27th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. public OnRconLoginAttempt(ip[], password[], success)
  2. {
  3. for(new i=0; i<MAX_PLAYERS; i++)
  4. {
  5. if(!success)
  6. {
  7. //if(success) return SendClientMessage(i,-1,"Ulogovali ste se na rcon password!");
  8. printf("POGRESAN RCON PASSWORD | IP %s | PASSWORD: %s",ip, password);
  9. new pip[16];
  10.  
  11. GetPlayerIp(i, pip, sizeof(pip));
  12. if(!strcmp(ip, pip, true))
  13. {
  14. SendClientMessage(i, COLOR_LIGHTRED, "[BE-SP | AC] {FFFFFF}Pogresan Rcon Password. Admin-i su obavesteni o tvom pukusaju upada na rcon !");
  15. Kick(i);
  16. }
  17. }
  18. }
  19. return 1;
  20. }
  21.  
  22. IIIII OVO
  23.  
  24. public OnRconCommand(cmd[])
  25. {
  26. return 1;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment