public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if ( newkeys == KEY_SECONDARY_ATTACK ) { OnPlayerCommandText(playerid,"/Entrar"); } return 1;}