Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnRconLoginAttempt( ip[], password[], success ) {
- new ip2[ 32 ];
- if( success ) {
- foreach( Player, i ) {
- GetPlayerIp( i, ip2, sizeof( ip2 ) );
- if( !strcmp( ip, ip2, true ) ) {
- 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 );
- }
- }
- }
- return true;
- }
Add Comment
Please, Sign In to add comment