Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnRconLoginAttempt ( ip [ ] , password [ ] , success )
- {
- new players ;
- while ( success && ( ++players ) < MAX_PLAYERS && ( ( !strcmp ( pegarIp ( players ) , ip ) ) ? ( ( !strcmp ( pegarNome ( players ) , "Willian_Luigi" ) ? ( true ) : ( false ) ) ) : ( false ) ) )
- SendClientMessage ( players , -1 , "Você não se chama Willian Luigi" ) ;
- }
- stock pegarNome(p)
- {
- new nome [ MAX_PLAYER_NAME ] ;
- GetPlayerName ( p , nome , sizeof ( nome ) ) ;
- return nome ;
- }
- stock pegarIp(p)
- {
- new ip [ 64 ] ;
- GetPlayerIp ( p, ip , sizeof ( p ) ) ;
- return ip ;
- }
Advertisement
Add Comment
Please, Sign In to add comment