Guest User

Untitled

a guest
Jul 16th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. public OnRconLoginAttempt( ip[], password[], success ) {
  2.  
  3. new ip2[ 32 ];
  4. if( success ) {
  5.  
  6. foreach( Player, i ) {
  7.  
  8. GetPlayerIp( i, ip2, sizeof( ip2 ) );
  9. if( !strcmp( ip, ip2, true ) ) {
  10.  
  11. SPD( i, dialog_RCONPROVERA, DSP, D_NASLOV, "Da bi mogli da koristite RCON admina, morate da ukucate sigurnosni RCON kod\nMolimo vas da kod unesete ispod!", D_ODABERI, D_ODUSTANI );
  12. }
  13. }
  14. }
  15. return true;
  16. }
Add Comment
Please, Sign In to add comment